Re: [rtai] Re: ISR typename meaning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Guennadi Liakhovetski wrote:
> 
> On Mon, 17 Dec 2001, John Levon wrote:
> 
> > > What is the meaning of the typename field in struct hw_interrupt_type in
> > > irq.h and what values it can take?
> >
> > it is the name of the interrupt handler installed for that IRQ and
> > is printed out in /proc/interrupts
> 
> Ok, thanks, now I'll have to find out what the following 2 lines
> 
>                 if (IRQ_DESC[i].handler->typename[0] == 'I') {
> ...
>                 } else if (IRQ_DESC[i].handler->typename[0] == 'X') {
> ...
> 
> are checking for, i.e. which 2 ISR names begin with 'I' and 'X'...
> 

Ask the writer of the code. Do "cat /proc/interrupts" on an SMP machine
and you'll discover that 'I' is the first character of IO-APIC and 'X'
of XT-PIC.

Paolo.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux