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