From: Star Zeng Date: Thu, 28 Jul 2016 02:49:50 +0000 (+0800) Subject: MdeModulePkg SmbiosDxe: Use definition in IndustryStandard/Smbios.h X-Git-Tag: edk2-stable201903~6194 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=4b1f70e2d70f1cec5d7b806d7c70a8bfefde003c MdeModulePkg SmbiosDxe: Use definition in IndustryStandard/Smbios.h Cc: Feng Tian Cc: Amy Chan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Giri P Mudusuru Reviewed-by: Amy Chan --- diff --git a/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c b/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c index 809dff84ac..ea762d59b9 100644 --- a/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c +++ b/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c @@ -2,7 +2,7 @@ This code produces the Smbios protocol. It also responsible for constructing SMBIOS table into system table. -Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.
+Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -1127,7 +1127,7 @@ SmbiosCreateTable ( // Create End-Of-Table structure // GetMaxSmbiosHandle(SmbiosProtocol, &SmbiosHandle); - EndStructure.Header.Type = EFI_SMBIOS_TYPE_END_OF_TABLE; + EndStructure.Header.Type = SMBIOS_TYPE_END_OF_TABLE; EndStructure.Header.Length = (UINT8) sizeof (EFI_SMBIOS_TABLE_HEADER); EndStructure.Header.Handle = SmbiosHandle; EndStructure.Tailing[0] = 0; @@ -1300,7 +1300,7 @@ SmbiosCreate64BitTable ( // Create End-Of-Table structure // GetMaxSmbiosHandle(SmbiosProtocol, &SmbiosHandle); - EndStructure.Header.Type = EFI_SMBIOS_TYPE_END_OF_TABLE; + EndStructure.Header.Type = SMBIOS_TYPE_END_OF_TABLE; EndStructure.Header.Length = (UINT8) sizeof (EFI_SMBIOS_TABLE_HEADER); EndStructure.Header.Handle = SmbiosHandle; EndStructure.Tailing[0] = 0;