OALPCIGetSubBusNum (Windows Embedded CE 6.0)
1/5/2010
This function is a helper function used by the KITL to read the subordinate bus number in a PCI bus configuration register.
Syntax
UINT8 OALPCIGetSubBusNum(
UINT32 busId,
OAL_PCI_LOCATION pciLoc
);
Parameters
- busId
[in] Identifies the PCI bus controller if there are multiple PCI bus controllers on the system. Set this parameter to 0 to represent the first bus controller, set this value to 1 to represent the second bus controller, and so on.
- pciLoc
[in] Specifies an OAL_PCI_LOCATION structure.
Return Value
Returns the subordinate bus number.
Remarks
OALPCIGetSubBusNum should only be called for the PCI bridge.
Requirements
Header | oal_pci.h |
Library | Developer Implemented |
Windows Embedded CE | Windows CE 5.0 and later |