]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2004, Intel Corporation \r | |
4 | All rights reserved. This program and the accompanying materials \r | |
5 | are licensed and made available under the terms and conditions of the BSD License \r | |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | SmBios.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | GUIDs used to locate the SMBIOS tables in the EFI 1.0 system table.\r | |
19 | \r | |
20 | This GUID in the system table is the only legal way to search for and \r | |
21 | locate the SMBIOS tables. Do not search the 0xF0000 segment to find SMBIOS\r | |
22 | tables.\r | |
23 | \r | |
24 | --*/\r | |
25 | \r | |
26 | #ifndef _SMBIOS_GUID_H_\r | |
27 | #define _SMBIOS_GUID_H_\r | |
28 | \r | |
29 | #define EFI_SMBIOS_TABLE_GUID \\r | |
30 | { \\r | |
31 | 0xeb9d2d31, 0x2d88, 0x11d3, 0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d \\r | |
32 | }\r | |
33 | \r | |
34 | extern EFI_GUID gEfiSmbiosTableGuid;\r | |
35 | \r | |
36 | //\r | |
37 | // Smbios Table Entry Point Structure\r | |
38 | //\r | |
39 | #pragma pack(1)\r | |
40 | typedef struct {\r | |
41 | UINT8 AnchorString[4];\r | |
42 | UINT8 EntryPointStructureChecksum;\r | |
43 | UINT8 EntryPointLength;\r | |
44 | UINT8 MajorVersion;\r | |
45 | UINT8 MinorVersion;\r | |
46 | UINT16 MaxStructureSize;\r | |
47 | UINT8 EntryPointRevision;\r | |
48 | UINT8 FormattedArea[5];\r | |
49 | UINT8 IntermediateAnchorString[5];\r | |
50 | UINT8 IntermediateChecksum;\r | |
51 | UINT16 TableLength;\r | |
52 | UINT32 TableAddress;\r | |
53 | UINT16 NumberOfSmbiosStructures;\r | |
54 | UINT8 SmbiosBcdRevision;\r | |
55 | } SMBIOS_TABLE_ENTRY_POINT;\r | |
56 | #pragma pack()\r | |
57 | //\r | |
58 | // The Smbios structure header\r | |
59 | //\r | |
60 | #pragma pack(1)\r | |
61 | typedef struct {\r | |
62 | \r | |
63 | UINT8 Type;\r | |
64 | UINT8 Length;\r | |
65 | UINT16 Handle;\r | |
66 | \r | |
67 | } SMBIOS_STRUCTURE;\r | |
68 | #pragma pack()\r | |
69 | \r | |
70 | #endif\r |