Share via


OALPCIGetId (Compact 2013)

10/16/2014

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

Syntax

UINT32 OALPCIGetId(
  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.

Return Value

Returns the ID.

Remarks

The ID is a combination of the PCI bus device ID and the vendor ID.

Requirements

Header

oal_pci.h

Library

Developer Implemented

See Also

Reference

PCI Functions