Home |
RTTarget-32 Programming Manual Function RTT_BIOS_FindDevice 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_FindDeviceThis function returns the location of PCI devices that have a specific device ID and vendor ID. int RTT_BIOS_FindDevice(WORD Vendor, WORD DeviceID, int Index, BYTE * Bus, BYTE * DeviceFunc); ParametersVendorVendor ID to search for. DeviceIDDevice ID to search for. IndexZero-based index of the device. For example, Index 1 would return the second device with the given Vendor and Device ID. BusPointer to the returned PCI 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 vendor ID and device ID 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_FindClassCode
|