Visit Our UNIX and Linux User Community


Does unix use interrupts?


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory Does unix use interrupts?
# 1  
Old 09-16-2002
Question Does unix use interrupts?

I'm a freshman here and I have a simple question.
Does unix use interrupts which is like Dos? Are they the same?
Thx.Smilie
# 2  
Old 09-16-2002
Re: Does unix use interrupts?

Quote:
Originally posted by Frank_M
I'm a freshman here and I have a simple question.
Does unix use interrupts which is like Dos? Are they the same?
Thx.Smilie
Are you talking about Interrupts like Int 21h in Assembly programming? That's hardware dependent.

A google search for NASM would probably yield good results for Assembly language development under x86 and possbily other architectures.
# 3  
Old 09-16-2002
IRQs???

I believe he is asking for IRQs, however, I don't know the answer. I am guessing that it is no they don't.

IRQs are for assigning H/W on Windows. So far as I know UNIX doesn't restrict to that degreee. You can configure many H/W devices on UNIX whereas WINOS only have upto 15 or so.
# 4  
Old 09-16-2002
Re: IRQs???

Quote:
Originally posted by Kelam_Magnus
I believe he is asking for IRQs, however, I don't know the answer. I am guessing that it is no they don't.

IRQs are for assigning H/W on Windows. So far as I know UNIX doesn't restrict to that degreee. You can configure many H/W devices on UNIX whereas WINOS only have upto 15 or so.
I am pretty sure that IRQs are used on x86 versions of Unix. I bet that they aren't on the OSX version because the Apple hardware never had support for IRQs. I have no idea of any other systems. I'm a pretty cheap x86 guy myself. Smilie
# 5  
Old 09-16-2002
Tools I mean int

Thx, I mean int here. I used NASM in Dos and Windows but I don't know if unix follows the same rule. When I use int 21h, I call dos service. but what should I do if I want to call unix service?!(Does it exist Smilie )
# 6  
Old 09-17-2002
Re: I mean int

Quote:
Originally posted by Frank_M
Thx, I mean int here. I used NASM in Dos and Windows but I don't know if unix follows the same rule. When I use int 21h, I call dos service. but what should I do if I want to call unix service?!(Does it exist Smilie )
Google is our friend.

http://www.geocities.com/SiliconVall.../linux-asm.txt

It looks like under Linux with NASM 80h is used instead of 21h. The link above seems to be a good start of Assembly programming under Linux on the x86.
# 7  
Old 09-18-2002
Yeah, I get that, Thx U
I will keeping googling.......

Previous Thread | Next Thread
Test Your Knowledge in Computers #340
Difficulty: Easy
Apache2 is a web server developed by Apple Computer.
True or False?

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Do UNIX signals produce interrupts?

Hi folks! I have been reading Vahalia's Unix Internals book, which states the following in the chapter dedicated to signals: Given that, my understanding is that processes running in user mode don't become aware of signals until they switch to kernel mode, where the issig() function is called... (3 Replies)
Discussion started by: Tru69
3 Replies

2. Infrastructure Monitoring

CPU - Interrupts distribution

Hi Gurus, I have a situation runing my ETL tools on the below server. The throughput while processing data is coming very low. When i tried to analyse the CPU stats i got colleceted the mpstat. Server Physical Host Name *********com IP**.***.** OS Type Linux OS Classlinux red hat... (3 Replies)
Discussion started by: r_t_1601
3 Replies

3. Linux

Convert ssRawInterrupts into Interrupts Per Sec

am doing performance monitoring to our server through snmp. i need to convert the interrupts raw value (ssRawInterrupts) in UCD-SNMP-MIB to per sec (Interrupts/Sec). What is the exact formula to find the above one. Guide me please. Thanks in advance. (1 Reply)
Discussion started by: maruthu
1 Replies

4. Programming

SIGCHLD interrupts its own handler

Hi. I have a program whose job it is to manage 15 child processes. Sometimes these children die (sometimes deliberately other times with a SEGV). This causes a SIGCHLD to be sent to my program which uses waitpid() in the signal handler to gather information and, in most cases, restart the child.... (3 Replies)
Discussion started by: jrichemont
3 Replies

5. UNIX for Dummies Questions & Answers

about concept of Interrupts.

Hi all, I am new here ,i want to know about interrupts in detail.What r Interrupts .how they r handeled. Thanx in adavnce. (1 Reply)
Discussion started by: vishwasrao
1 Replies

6. Linux

how to determine which interrupts enable and which desable?

hi all. How can i determine which interrupts are enabled in my machine (x86). I mean how can i access information about this through my pic/apic, or how can i see, which interrupt enable? Maybe i can do it through /proc, or /sys? I writing driver and i think, that i incorrect initialize it,... (0 Replies)
Discussion started by: kolya
0 Replies

7. UNIX for Dummies Questions & Answers

Traps and Interrupts

Well, I don't know where exactly to ask this doubt so I'm asking in the newbie section. I was reading about traps and interrupts when I thought of traps as something that cease the control of the OS from the user and interrupts that cease the control yet provide support for multitasking. Am I right... (3 Replies)
Discussion started by: Legend986
3 Replies

8. UNIX for Advanced & Expert Users

Interrupts problems

Hi, My machine is a Unixware 7.1.3 is a files server, and I had never problem with that machine, but since two days, the machine presents slows problems, i think that the problem is te device interrupts, I had checked all and I dont found it any problem. Any idea? Thanks, (sorry my... (2 Replies)
Discussion started by: By_Jam
2 Replies

9. UNIX for Dummies Questions & Answers

catching interrupts

hey i have been facing a problem,can you tell me if we can catch ctrl d in unix i have tried and sucessfully catched and disabled ctrl-c and ctrl -z but am not sure if we can do the same for CTRL-D, so got any clue mail on he forum or ...i mean c programming in Unix thats what i am working on (1 Reply)
Discussion started by: toughguy2handle
1 Replies

Featured Tech Videos