On Tue, Feb 22, 2005 at 11:29:50AM -0800, Om wrote: > On Tue, Feb 22, 2005 at 10:45:49AM +0100, Erik Mouw hit keys to express the following: > > On Tue, Feb 22, 2005 at 02:50:56PM +0530, Dhanashri Bhate wrote: > > > Could anyone pls tell me how to get a list of all 16 IRQs? > > > > Only 16? Modern systems switch to APIC mode which enables more > How do we do that? Both the CPU and the chipset have to support it. Enable "Local APIC support on uniprocessors" and "IO-APIC support on uniprocessors" (can be found under "Processor type and features"). It's harmless to enable, if the hardware doesn't support it, it will not be used. > /proc/stat gives out the number of interrupts occurred since bootup. > /proc/interrupts gives the interrupts for handlers are registered. (Correct me > if I am wrong). Correct. > How to know how many interrupts are supported in the system? > RTFM of the APIC manual? On x86, IRQ 14 and 15 are always reserved for the onboard IDE controller (legacy IDE mode). If you have anything above it, it's because of APIC mode and the kernel boot messages should give you some clues. Erik -- Erik Mouw J.A.K.Mouw@xxxxxxxxxxxxxx mouw@xxxxxxxxxxxx
Attachment:
signature.asc
Description: Digital signature