5-6 IQ80960RM/RN
Evaluation Board Manual
MON960 Support for IQ80960RM/RN
5.4.2 PCI BIOS Routines
MON960 includes PCI BIOS routines to aid application software ini tialization of the secondary
PCI bus. The supported BIOS functions are described in the subsections that follow.
sysPCIBIOSPresent
sysFindPCIDevice
sysFINDPCIClassCode
sysGenerateSpecial Cycle
sysReadConfigByte
sysReadConfigWord
sysReadConfigDword
sysWriteConfigByte
sysWriteConfigWord
sysWriteConfigDword
sysGetIrqRoutingOptions
sysSetPCIIrq
These functions preserve, as closely as possible, the parameters and return values described in the
PCI Local Bus Specification Revis ion 2.1. Functions that return multiple values do so b y f illing in
the fields of a structure passed by the calling routine.
You can access these functions via a calls instruction. The system call indices are defined in the
MON960 sourc e f il e PCI_BIOS.H. The function prototypes are defined in the IQRP_ASM.H
file.

5.4.2.1 sysPCIBIOSPresent

This function allows the call er t o det ermine whet her the PCI BI OS in ter face fu ncti on s et is pres ent,
and the current interface version level. It also provides information about the hardware mechanism
used for accessing configuration space and whether or not the hardware supports gen erati on of PCI
Special Cycles.
Calling convention:
int sysPCIBIOSPresent (
PCI_BIOS_INFO *info
);
Return values:
This function always returns SUCCESSFUL.