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_FindClassCodeThis function returns the location of PCI devices which have a specific class code. int RTT_BIOS_FindClassCode(DWORD ClassCode, int Index, BYTE * Bus, BYTE * DeviceFunc); ParametersClassCodeClass code to search for. IndexZero-based index of the device. For example, Index 1 would return the second device with the given class code. BusPointer to the returned bus number. DeviceFuncPointer to the returned device number in bits 7 .. 3 and the function number in bits 2 .. 0. return valueRTT_BIOS_SUCCESSFUL or an error code, see section PCI BIOS. All devices having the same class code can be found by making successive calls to this function starting with Index set to zero and incrementing it until the return code is RTT_BIOS_DEVICE_NOT_FOUND. Function RTT_BIOS_GetInterruptRouting
|