9.3.3
®
Intel
NetStructure
Downloaded from
Elcodis.com
electronic components distributor
How to Find the System Information Structure
The dynamic version of the System Information Structure can be found by searching the BIOS area
(F000:0000h - F000:FFFFh in real mode). The following C function is an example of how to find
the structure.
define
SIGNATURE
#
#define
SigSIZE8
ZiaSysInfo
*infoptr;
/*---------------------------------------------------------------
-------
* GetSysInfo
*
*This function will search the BIOS area(f000h - fffff) for
*the system information structure. The structure starts with
*signature "ZIA INFO. Once it is found, the global structure
*pointer "infoptr" will be loaded to point to the structure.
*
*Input:
*None
*
*Output:
*return 0 if the structure is found
*return 1 if the structure is NOT found
*---------------------------------------------------------------
-----------*/
UNIT8 GetSysInfo(void)
{
UINT16 i=0;
UINT8 __far *ptr;
_FP_SEG(ptr) = 0xf000;
_FP_OFF(ptr) = 0;
for (i=0; i<(0xffff-SigSIZE); i++) {
if (strncmp((ptr+i),SIGNATURE,SigSIZE)==0){
_FP_SEG(infoptr) = 0xf000;
_FP_OFF(infoptr) = i;
return(0);
}
}
return(1);
}
It is the application's responsibility to check and account for the size and version of the structure.
The structure is designed so that any additions or changes will be backwards compatible: additional
fields will be added at the end, so that the rest of the structure has the same organization as the
previous version.
TM
ZT 5515 Compute Processor Board Technical Product Specification
"ZIA INFO"
System BIOS
53
Need help?
Do you have a question about the NetStructure ZT 5515 and is the answer not in the manual?
Questions and answers