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