|
@@ -7,7 +7,7 @@ Copyright (c) 2000 Intel Corporation
|
|
|
Module Name:
|
|
|
|
|
|
LibSmbios.h
|
|
|
-
|
|
|
+
|
|
|
Abstract:
|
|
|
|
|
|
Lib include for SMBIOS services. Used to get system serial number and GUID
|
|
@@ -37,6 +37,19 @@ typedef struct {
|
|
|
UINT8 SmbiosBcdRevision;
|
|
|
} SMBIOS_STRUCTURE_TABLE;
|
|
|
|
|
|
+typedef struct {
|
|
|
+ UINT8 AnchorString[5];
|
|
|
+ UINT8 EntryPointStructureChecksum;
|
|
|
+ UINT8 EntryPointLength;
|
|
|
+ UINT8 MajorVersion;
|
|
|
+ UINT8 MinorVersion;
|
|
|
+ UINT8 DocRev;
|
|
|
+ UINT8 EntryPointRevision;
|
|
|
+ UINT8 Reserved;
|
|
|
+ UINT32 TableMaximumSize;
|
|
|
+ UINT64 TableAddress;
|
|
|
+} SMBIOS3_STRUCTURE_TABLE;
|
|
|
+
|
|
|
//
|
|
|
// Please note that SMBIOS structures can be odd byte aligned since the
|
|
|
// unformated section of each record is a set of arbitrary size strings.
|
|
@@ -71,7 +84,7 @@ typedef struct {
|
|
|
// always byte copy this data to prevent alignment faults!
|
|
|
//
|
|
|
EFI_GUID Uuid;
|
|
|
-
|
|
|
+
|
|
|
UINT8 WakeUpType;
|
|
|
} SMBIOS_TYPE1;
|
|
|
|
|
@@ -127,6 +140,4 @@ typedef union {
|
|
|
} SMBIOS_STRUCTURE_POINTER;
|
|
|
#pragma pack()
|
|
|
|
|
|
-
|
|
|
#endif
|
|
|
-
|