Справочник Пользователя для IBM 500

Скачать
Страница из 63
SurePOS 500 4846-XX5 Technical Reference 
Page 34 of 63 
3.13  Vital Product Data 
Vital Product Data (VPD) is the IBM-specific information about a system.  The data includes values such as machine 
type, model, serial number, BIOS/Flash revision, system board unique ID, etc.  VPD is accessed through SMBIOS, as 
defined in the SMBIOS specification. 
3.13.1  VPD Layout in SMBIOS 
This section describes the traditional VPD.  Refer to the SMBIOS specification for methods of accessing these fields. 
 
Data field 
SMBIOS record Type and Field 
Data type  Field length 
Type 0 “BIOS Version” 
ASCII 
string 
BIOS level 
Example: X6KT100 
 
 
Type 1 “Product name” and “Version” 
ASCII 
string 
7  
Machine 
type/model 
Example: 4846545 
The machine type/model does not have dashes or spaces in SMBIOS 
System serial 
number 
Type 1 “Serial Number” 
ASCII 
string 
Product Family 
Type 1 “Family”, Type 11 
ASCII 
string 
11 
Type 1 “UUID”, offset 0Ah 
 
hex 6 
LAN MAC 
Address 
Usage: The LAN MAC address can be parsed from the Type 01 “UUID” field, offset 10 (0Ah).  
For example, if the UUID is 40 3E 4C 58 76 7B DA 11 A4 29 00 14 5E 14 00 15, the MAC 
address is 00 14 5E 14 00 15. 
 
3.13.2  SMBIOS Type 11 Structure Layout 
The format of the SMBIOS Type 11 Structure for OEM strings is as follows: 
Offset Name 
Length Value  Description 
00h 
Type 
1 byte 
0Bh 
OEM strings structure indicator 
01h 
Length 
1 byte 
05h 
Length of structure 
02h Handle 
bytes 
varies 
 
04h 
Count 
1 byte 
varies 
Number of strings in this structure 
05h 
Product Family 
String 
11 bytes 
ASCII 
string 
“SurePOS 500” 
3.13.3  VPD using Int 15h 
;Get pointer to VPD block 
 mov 
ax, 
0d207h 
 int 
15h 
 
;ES:DI now points to the following structure: 
vpdDataStruc  STRUC 
 header 
  DW 
55aah 
 vpdSignature 
 DB 
'VPD' 
 vpdLength 
 DB 
48 
 reserved  DB 
 
dup(20h) 
 buildID 
  DB 
 
dup(20h) 
 boxSerial 
 DB 
 
dup(20h) 
 uniqueID  DB 
11 
dup(20H) 
 machineType 
 DB 
 
dup(20h) 
 vpdChecksum 
 DB 
vpdDataStruc  ENDS