The following table shows the functions exported from the PCI library for use with other libraries in the OAL.
| Programming Element | Description |
|---|---|
| OALPCICfgRead | This function reads the PCI configuration space. |
| OALPCICfgWrite | This function writes to the PCI configuration space. |
| OALPCIConfig | This function provides simple PCI bus configuration. It configures the PCI bus device resources. |
| OALPCIFindNextId | This function searches the PCI bus for cards that match the device ID. |
| OALPCIInit | This function initializes the PCI module. It is called from the OEMInit function to initialize the PCI bus. |
| OALPCIPowerOff | This function prepares the PCI hardware to be powered off or suspended. |
| OALPCIPowerOn | This function powers on the PCI hardware, restores the PCI clock, and issues a PCI bus reset. |
| OALPCIRegisterAsUsed | This function registers the KITL device as used in the OS registry. |
| OALPCITransBusAddress | This function translates the PCI bus-relative address to the CPU address space. |
See Also
PCI Reference | Production-Quality OAL Components
Send Feedback on this topic to the authors