![]() |
![]() |
![]() |
Retrieve PCI IRQ routing information
#include <hw/pci.h> int pci_irq_routing_options( IRQRoutingOptionsBuffer * buf, uint32_t * irq );
libc
The pci_irq_routing_options() function returns the following:
Routing information is returned in a data buffer that contains an IRQ routing for each PCI device or slot.
The layout for the IRQ Routing Options Buffer can be found in PCI BIOS SPECIFICATION Revision 2.1. It can be obtained from the PCI Special Interest Group at http://pcisig.com/.
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
pci_attach(), pci_attach_device(), pci_detach(), pci_detach_device(), pci_find_class(), pci_find_device(), pci_present(), pci_read_config(), pci_read_config8(), pci_read_config16(), pci_read_config32(), pci_rescan_bus(), pci_write_config(), pci_write_config8(), pci_write_config16(), pci_write_config32()
![]() |
![]() |
![]() |