mirror of
https://github.com/acidanthera/audk.git
synced 2025-05-03 14:10:14 +02:00
MdeModulePkg SmbiosDxe: Use definition in IndustryStandard/Smbios.h
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>
This commit is contained in:
parent
66db6e569e
commit
4b1f70e2d7
@ -2,7 +2,7 @@
|
|||||||
This code produces the Smbios protocol. It also responsible for constructing
|
This code produces the Smbios protocol. It also responsible for constructing
|
||||||
SMBIOS table into system table.
|
SMBIOS table into system table.
|
||||||
|
|
||||||
Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -1127,7 +1127,7 @@ SmbiosCreateTable (
|
|||||||
// Create End-Of-Table structure
|
// Create End-Of-Table structure
|
||||||
//
|
//
|
||||||
GetMaxSmbiosHandle(SmbiosProtocol, &SmbiosHandle);
|
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.Length = (UINT8) sizeof (EFI_SMBIOS_TABLE_HEADER);
|
||||||
EndStructure.Header.Handle = SmbiosHandle;
|
EndStructure.Header.Handle = SmbiosHandle;
|
||||||
EndStructure.Tailing[0] = 0;
|
EndStructure.Tailing[0] = 0;
|
||||||
@ -1300,7 +1300,7 @@ SmbiosCreate64BitTable (
|
|||||||
// Create End-Of-Table structure
|
// Create End-Of-Table structure
|
||||||
//
|
//
|
||||||
GetMaxSmbiosHandle(SmbiosProtocol, &SmbiosHandle);
|
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.Length = (UINT8) sizeof (EFI_SMBIOS_TABLE_HEADER);
|
||||||
EndStructure.Header.Handle = SmbiosHandle;
|
EndStructure.Header.Handle = SmbiosHandle;
|
||||||
EndStructure.Tailing[0] = 0;
|
EndStructure.Tailing[0] = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user