![]() |
| Home |
|
|
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 and cannot be larger than 255. 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.
|