]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg SmbiosDxe: Use definition in IndustryStandard/Smbios.h
authorStar Zeng <star.zeng@intel.com>
Thu, 28 Jul 2016 02:49:50 +0000 (10:49 +0800)
committerStar Zeng <star.zeng@intel.com>
Fri, 29 Jul 2016 02:10:56 +0000 (10:10 +0800)
Cc: Feng Tian <feng.tian@intel.com>
Cc: Amy Chan <amy.chan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Reviewed-by: Amy Chan <amy.chan@intel.com>
MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c

index 809dff84ac9b42abd48b4244404c8732863bea4d..ea762d59b9bdbefd35cdc54d96754d6555c92afd 100644 (file)
@@ -2,7 +2,7 @@
   This code produces the Smbios protocol. It also responsible for constructing \r
   SMBIOS table into system table.\r
   \r
-Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -1127,7 +1127,7 @@ SmbiosCreateTable (
   // Create End-Of-Table structure\r
   //\r
   GetMaxSmbiosHandle(SmbiosProtocol, &SmbiosHandle);\r
-  EndStructure.Header.Type = EFI_SMBIOS_TYPE_END_OF_TABLE;\r
+  EndStructure.Header.Type = SMBIOS_TYPE_END_OF_TABLE;\r
   EndStructure.Header.Length = (UINT8) sizeof (EFI_SMBIOS_TABLE_HEADER);\r
   EndStructure.Header.Handle = SmbiosHandle;\r
   EndStructure.Tailing[0] = 0;\r
@@ -1300,7 +1300,7 @@ SmbiosCreate64BitTable (
   // Create End-Of-Table structure\r
   //\r
   GetMaxSmbiosHandle(SmbiosProtocol, &SmbiosHandle);\r
-  EndStructure.Header.Type = EFI_SMBIOS_TYPE_END_OF_TABLE;\r
+  EndStructure.Header.Type = SMBIOS_TYPE_END_OF_TABLE;\r
   EndStructure.Header.Length = (UINT8) sizeof (EFI_SMBIOS_TABLE_HEADER);\r
   EndStructure.Header.Handle = SmbiosHandle;\r
   EndStructure.Tailing[0] = 0;\r