Jump to content
Excelsior Forums
Sign in to follow this  
qnr

Where can I find a breakdown of INTERRUPTSOURCE in COROUTINES.def ?

Recommended Posts

I'm trying to experiment with COROUTINES, Processes and Semaphores.  Hard to locate any ISO code that I can examine for hints.

Right now, I'm trying to make a program with a timer interrupt, but I have no idea what that is in x86 Linux.  I know that it is (or was) 1C on the PC, but since it states it is implementation specific, I have to believe that it is something else here in Linux, even though I'm on an x86 machine. Is there any place that I can find a breakdown of INTERRUPTSOURCE in the COROUTINES definition module?

Share this post


Link to post
Share on other sites

If I look at /proc/interrupts I see this:

terry@dorsai:~$ cat /proc/interrupts 
           CPU0       
  0:   23446833    XT-PIC-XT        timer
  1:         19    XT-PIC-XT        i8042
  2:          0    XT-PIC-XT        cascade
  3:          1    XT-PIC-XT      
  4:          1    XT-PIC-XT      
  5:     176071    XT-PIC-XT        VIA686A
  6:          4    XT-PIC-XT        floppy
  7:          5    XT-PIC-XT        parport0
  8:          1    XT-PIC-XT        rtc
  9:     767982    XT-PIC-XT        uhci_hcd:usb1
10:        229    XT-PIC-XT        acpi
11:    6242323    XT-PIC-XT        yenta, uhci_hcd:usb2, uhci_hcd:usb3, ehci_hcd:usb4, eth0
12:       2907    XT-PIC-XT        i8042
14:     175315    XT-PIC-XT        ide0
15:     702834    XT-PIC-XT        ide1
NMI:          0   Non-maskable interrupts
TRM:          0   Thermal event interrupts
SPU:          0   Spurious interrupts
ERR:          0

Does that imply that timer would be i0? i8? Or are they unrelated and assigned elsewhere?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×