Intel RN Computer Accessories User Manual


 
IQ80960RM/RN
Evaluation Board Manual 5-9
MON960 Support for IQ80960RM/RN
5.4.2.6 sysReadConfigWord
This function allows the caller to read individual shorts (16 bits) from the configuration space of a
specific device. The Register Number parameter must be a multiple of two (i.e., bit 0 must be set to “0”).
Calling convention:
int sysReadConfigWord (
int bus_number,
int device_number,
int function_number,
int register_number, /* 0,2,4,...,254 */
UINT16 *data
);
Return values:
This function returns SUCCESSFUL when the indicated word was read correctly, or ERROR when
there is a problem with the parameters.
5.4.2.7 sysReadConfigDword
This function allows the caller to read individual longs (32 bits) from the configuration space of a
specific device. The Register Number parameter must be a multiple of four (i.e., bits 0 and 1 must
be set to “0”).
Calling convention:
int sysReadConfigDword (
int bus_number,
int device_number,
int function_number,
int register_number, /* 0,4,8,...,252 */
UINT32 *data
);
Return values:
This function returns SUCCESSFUL when the indicated long was read correctly, or ERROR when
there is a problem with the parameters.