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_ReadConfigDataThis function allows reading individual bytes, words, or dwords from the configuration space of a specific device: int RTT_BIOS_ReadConfigData(BYTE Bus, BYTE DeviceFunc, int Register, int Width, void * Value); ParametersBusBus number to read from. DeviceFuncDevice number in bits 7 .. 3 and the function number in bits 2 .. 0 for the device to read from. RegisterRegister to read from. Must be divisible by Width. WidthMay be 1, 2, or 4 for byte, word or dword access. ValueIf the function succeeds, the read data is returned at *Value. return valueRTT_BIOS_SUCCESSFUL or an error code, see section PCI BIOS. Function RTT_BIOS_GenSpecialCycle Function RTT_BIOS_WriteConfigData
|