Home |
RTTarget-32 Programming Manual Function RTT_BIOS_FindClassCode Function RTT_BIOS_GetInterruptRouting Function RTT_BIOS_GenSpecialCycle Function RTT_BIOS_ReadConfigData Function RTT_BIOS_WriteConfigData Function RTT_BIOS_LocateCapability System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) |
Function RTT_BIOS_LocateCapabilityThis function can be used to search for PCI device's Capabilities: UINT RTT_BIOS_LocateCapability(BYTE Bus, BYTE DeviceFunc, UINT CapId, DWORD Flags); ParametersBusPCI bus number the device is on. DeviceFuncDevice number in bits 7 .. 3 and the function number in bits 2 .. 0 for the device to be queried. CapIdId number of the PCI Capability to search for. FlagsZero for PCI Capabilities or flag RTT_BIOS_EXTENDED_CAP if parameter CapId refers to a PCI Express Extended Capability. return valueThe register offset of the Capability header within the PCI config space of the device if the Capability was found. If it was not found, zero is returned. Function RTT_BIOS_WriteConfigData
|