]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/IndustryStandard/SmBios.h
Updated headers to follow coding standard
[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 @par Revision Reference: SMBIOS 2.0
15
16 **/
17
18 #ifndef __SMBIOS_STANDARD_H__
19 #define __SMBIOS_STANDARD_H__
20 //
21 // Smbios Table Entry Point Structure
22 //
23 #pragma pack(1)
24 typedef struct {
25 UINT8 AnchorString[4];
26 UINT8 EntryPointStructureChecksum;
27 UINT8 EntryPointLength;
28 UINT8 MajorVersion;
29 UINT8 MinorVersion;
30 UINT16 MaxStructureSize;
31 UINT8 EntryPointRevision;
32 UINT8 FormattedArea[5];
33 UINT8 IntermediateAnchorString[5];
34 UINT8 IntermediateChecksum;
35 UINT16 TableLength;
36 UINT32 TableAddress;
37 UINT16 NumberOfSmbiosStructures;
38 UINT8 SmbiosBcdRevision;
39 } SMBIOS_TABLE_ENTRY_POINT;
40
41 //
42 // The Smbios structure header
43 //
44 typedef struct {
45 UINT8 Type;
46 UINT8 Length;
47 UINT16 Handle;
48 } SMBIOS_STRUCTURE;
49
50 #pragma pack()
51
52 #endif