]>
Commit | Line | Data |
---|---|---|
a7ed1e2e | 1 | /** @file\r |
2 | Industry Standard Definitions of SMBIOS tables.\r | |
3 | \r | |
4 | \r | |
5 | Copyright (c) 2006 - 2007, Intel Corporation All rights\r | |
6 | reserved. This program and the accompanying materials are\r | |
7 | licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at \r | |
9 | http://opensource.org/licenses/bsd-license.php \r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
13 | \r | |
14 | Module Name: SmBios.h\r | |
15 | \r | |
16 | @par Revision Reference: SMBIOS 2.0\r | |
17 | \r | |
18 | **/\r | |
19 | \r | |
20 | #ifndef __SMBIOS_STANDARD_H__\r | |
21 | #define __SMBIOS_STANDARD_H__\r | |
22 | //\r | |
23 | // Smbios Table Entry Point Structure\r | |
24 | //\r | |
25 | #pragma pack(1)\r | |
26 | typedef struct {\r | |
27 | UINT8 AnchorString[4];\r | |
28 | UINT8 EntryPointStructureChecksum;\r | |
29 | UINT8 EntryPointLength;\r | |
30 | UINT8 MajorVersion;\r | |
31 | UINT8 MinorVersion;\r | |
32 | UINT16 MaxStructureSize;\r | |
33 | UINT8 EntryPointRevision;\r | |
34 | UINT8 FormattedArea[5];\r | |
35 | UINT8 IntermediateAnchorString[5];\r | |
36 | UINT8 IntermediateChecksum;\r | |
37 | UINT16 TableLength;\r | |
38 | UINT32 TableAddress;\r | |
39 | UINT16 NumberOfSmbiosStructures;\r | |
40 | UINT8 SmbiosBcdRevision;\r | |
41 | } SMBIOS_TABLE_ENTRY_POINT;\r | |
42 | \r | |
43 | //\r | |
44 | // The Smbios structure header\r | |
45 | //\r | |
46 | typedef struct {\r | |
47 | UINT8 Type;\r | |
48 | UINT8 Length;\r | |
49 | UINT16 Handle;\r | |
50 | } SMBIOS_STRUCTURE;\r | |
51 | \r | |
52 | #pragma pack()\r | |
53 | \r | |
54 | #endif\r |