2 pci bios routines, 1 syspcibiospresent, Pci bios routines -6 5.4.2.1 – Intel Evaluation Platform Board Manual IQ80960RM User Manual

Page 44: Syspcibiospresent -6

Advertising
background image

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 initialization of the secondary
PCI bus. The supported BIOS functions are described in the subsections that follow.

sysPCIBIOSPresent

sysFindPCIDevice

sysFINDPCIClassCode

sysGenerateSpecialCycle

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 Revision 2.1. Functions that return multiple values do so by filling 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 source file

PCI_BIOS.H

. The function prototypes are defined in the

IQRP_ASM.H

file.

5.4.2.1

sysPCIBIOSPresent

This function allows the caller to determine whether the PCI BIOS interface function set is present,
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 generation of PCI
Special Cycles.

Calling convention:

int sysPCIBIOSPresent (

PCI_BIOS_INFO *info

);

Return values:

This function always returns SUCCESSFUL.

Advertising
This manual is related to the following products: