]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/SmBios.h: Add new defines for SMBIOS record type 43
authorLinson Augustine <linson.augustine@hpe.com>
Wed, 11 Jan 2017 09:10:14 +0000 (17:10 +0800)
committerStar Zeng <star.zeng@intel.com>
Thu, 12 Jan 2017 01:30:45 +0000 (09:30 +0800)
Added definitions for the new SMBIOS Type 43 record.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Augustine Linson P <linson.augustine@hpe.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
MdePkg/Include/IndustryStandard/SmBios.h

index c66422fc3af491c595d1a5ca02b49598beb297c0..2e804ea88e48050c6ad6a5918c0e7af45277420a 100644 (file)
@@ -2,7 +2,7 @@
   Industry Standard Definitions of SMBIOS Table Specification v3.0.0.\r
 \r
 Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
-(C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r
+(C) Copyright 2015-2017 Hewlett Packard Enterprise Development LP<BR>\r
 This program and the accompanying materials are licensed and made available under \r
 the terms and conditions of the BSD License that accompanies this distribution.  \r
 The full text of the license may be found at\r
@@ -97,6 +97,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define SMBIOS_TYPE_ADDITIONAL_INFORMATION               40\r
 #define SMBIOS_TYPE_ONBOARD_DEVICES_EXTENDED_INFORMATION 41\r
 #define SMBIOS_TYPE_MANAGEMENT_CONTROLLER_HOST_INTERFACE 42\r
+#define SMBIOS_TYPE_TPM_DEVICE                           43\r
 \r
 ///\r
 /// Inactive type is added from SMBIOS 2.2. Reference SMBIOS 2.6, chapter 3.3.43.\r
@@ -2358,6 +2359,21 @@ typedef struct {
   UINT8                             MCHostInterfaceData[1]; ///< This field has a minimum of four bytes\r
 } SMBIOS_TABLE_TYPE42;\r
 \r
+///\r
+/// TPM Device (Type 43).\r
+///\r
+typedef struct {\r
+  SMBIOS_STRUCTURE                  Hdr;\r
+  UINT8                             VendorID[4];\r
+  UINT8                             MajorSpecVersion;\r
+  UINT8                             MinorSpecVersion;\r
+  UINT32                            FirmwareVersion1;\r
+  UINT32                            FirmwareVersion2;\r
+  SMBIOS_TABLE_STRING               Description;\r
+  UINT64                            Characteristics;\r
+  UINT32                            OemDefined;\r
+} SMBIOS_TABLE_TYPE43;\r
+\r
 ///\r
 /// Inactive (Type 126)\r
 ///\r
@@ -2420,6 +2436,7 @@ typedef union {
   SMBIOS_TABLE_TYPE40   *Type40;\r
   SMBIOS_TABLE_TYPE41   *Type41;\r
   SMBIOS_TABLE_TYPE42   *Type42;\r
+  SMBIOS_TABLE_TYPE43   *Type43;\r
   SMBIOS_TABLE_TYPE126  *Type126;\r
   SMBIOS_TABLE_TYPE127  *Type127;\r
   UINT8                 *Raw;\r