Partager via


PCI Functions (Windows Embedded CE 6.0)

1/5/2010

The following table shows the PCI functions.

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.

OALPCIDumpConfig

This function is a helper function that dumps configuration information for a specific device.

OALPCIDump

This function is a helper function that dumps full PCI bus information for all the devices on the bus.

OALPCIFindNextId

This function searches the PCI bus for cards that match the device ID.

OALPCIGetHeaderType

This function is a helper function used by the KITL to read the header type in a PCI bus configuration register.

OALPCIGetId

This function is a helper function used by the KITL to read specific configuration registers.

OALPCIGetInterruptPin

This function is a helper function used by the KITL to read the interrupt pin in a PCI bus configuration register.

OALPCIGetMBAR

This function is a helper function used by the KITL to read the memory-based address register (MBAR) in a PCI bus configuration register.

OALPCIGetSecBusNum

This function is a helper function used by the KITL to read the secondary bus number in a PCI bus configuration register.

OALPCIGetSubBusNum

This function is a helper function used by the KITL to read the subordinate bus number in a PCI bus configuration register.

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

Reference

PCI Reference

Concepts

Production-Quality OAL Components