Is the _PCI_INT function found in sys/pci.h documented anywhere, or do I
have to wander through the asm code & figure it out for myself? Do I need to
use this when servicing interrupts from a PCI source?
Regards,
John
–
= * = -
Dracones Dormiens Numquam Titillandus.
You can’t depend on your judgment when your imagination is out of focus. -
Mark Twain
Is the _PCI_INT function found in sys/pci.h documented anywhere, or do I
have to wander through the asm code & figure it out for myself? Do I need to
use this when servicing interrupts from a PCI source?
Regards,
John
No, the _PCI_INT function is actually the INT 1A call into the bios to
perform the PCI function requested.
–
= * = -
Dracones Dormiens Numquam Titillandus.
You can’t depend on your judgment when your imagination is out of focus. -
Mark Twain
Is the _PCI_INT function found in sys/pci.h documented anywhere
Yes. The assembler source code is provided in sys/pci.h. It is a canonical
description of exactly what _PCI_INT does.
or do I have to wander through the asm code & figure it out for myself?
Hopefully you don’t get lost wandering through the entire screenful.
Just to satisfy your curiosity, the code is setting up the x86 registers
and then issuing a software interrupt 0x1A, which calls the PCI BIOS
code in your motherboard ROM.
Nothing whatsoever to do with a PCI device generating a hardware interrupt.
Do I need to use this when servicing interrupts from a PCI source?
No.. not at all.
The only functions you need to deal with PCI devices are the _CA_PCI???
routines, which are all documented in the helpviewer docs.