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