RE: how to mask and ack irq

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

 



 

For i8259A APIC, you can see all the functions for hardware interrupts at following link: http://lxr.linux.no/source/arch/i386/kernel/i8259.c?v=2.4.21#L150

For IO-APIC, you can find the corresponding function at: http://lxr.linux.no/source/arch/i386/kernel/io_apic.c#L147

 

But I think for enabling, disabling, masking and acknowledging the first 16 interrupts, kernel always use the function defined in i8259.c. For interrupts vectors numbers which are greater than 15 (that means interrupts from 16 - 255), kernel uses the functions defined in io_apic.c

 

I might be wrong, do correct me if I am wrong.

 

Regards,

Gaurav

 


From: sanjayk [mailto:tousanjay@xxxxxxxxxxxxxx]
Sent: Tuesday, September 21, 2004 6:19 PM
To: kernelnewbies@xxxxxxxxxxxx
Cc: Dhiman, Gaurav
Subject: how to mask and ack irq

 



please ignore this mail if it has appeared again. 
 
hi all
I am facing problem in identifying which
routine is called when

desc->handler->ack() call is made from
do_IRQ function in irq.c (i386)

AFAIK if I compile my kernel without SMP support
the corresponding routine reside in i8259.c by
the name mask_and_ack_irq

But what routine is called when the kernel is compiled with SMP
support.

TIA
sanjayk




[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