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