As read in the Linux Kernel Book, only IRQ 0 (timer), IRQ 2 (cascade) and IRQ 13 (fpu if present) are ia32 (i386+)-fixed.
Here comes my question : how is it possible to detect which hardware will send which IRQ?
So how can I detect the keyboard IRQ for example ?
IRQ detection
Re:IRQ detection
In this text, there is a list over the IRQ:s... it is not only those three that is fixed...
http://osdev.neopages.net/tutorials/irqs.php
http://osdev.neopages.net/tutorials/irqs.php
Re:IRQ detection
What is shown only corresponds to some "standard" connection.Peter_Vigren wrote: In this text, there is a list over the IRQ:s... it is not only those three that is fixed...
http://osdev.neopages.net/tutorials/irqs.php
I guessed that, according to the intel manuals, any hardware combinaison could be made with any IRQ and that only IRQ #0, #2 and #13 were fixed. I agree that this combining is the most popular, but until I can't get absolutely sure of this, I may try to detect the IRQs by myself. I was asking for such help (maybe someone has already thought about it and could help ?).
Re:IRQ detection
Another reason of detecting the IRQ corresponding to specific hardware is that many hardware can share the same IRQ. For example, my configuration lets my ethernet and my sound card share the IRQ #10
Re:IRQ detection
i use the PCI config space to tell me what IRQs are going to what devices, etc.
-- Stu --
Re:IRQ detection
Could you explain or give me a link where this is explained ?df wrote: i use the PCI config space to tell me what IRQs are going to what devices, etc.