X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FSmbiosDxe%2FSmbiosDxe.h;h=10cff8dd59f69971e03e4919915e77996f63e8a1;hb=5afa5b815936e2b45a375b6521764195bed68680;hp=6000bda3cf01284c3d5157093d4380b9f4da005b;hpb=e5eed7d3641d71d7ea539e5379ea9c6a5cd97004;p=mirror_edk2.git diff --git a/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h b/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h index 6000bda3cf..10cff8dd59 100644 --- a/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h +++ b/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h @@ -1,7 +1,7 @@ /** @file This code supports the implementation of the Smbios protocol -Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
+Copyright (c) 2009 - 2015, 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 @@ -82,6 +82,11 @@ typedef struct { LIST_ENTRY Link; EFI_SMBIOS_RECORD_HEADER *RecordHeader; UINTN RecordSize; + // + // Indicate which table this record is added to. + // + BOOLEAN Smbios32BitTable; + BOOLEAN Smbios64BitTable; } EFI_SMBIOS_ENTRY; #define SMBIOS_ENTRY_FROM_LINK(link) CR (link, EFI_SMBIOS_ENTRY, Link, EFI_SMBIOS_ENTRY_SIGNATURE) @@ -108,4 +113,18 @@ typedef struct { UINT8 Tailing[2]; } EFI_SMBIOS_TABLE_END_STRUCTURE; +/** + Create Smbios Table and installs the Smbios Table to the System Table. + + @param Smbios32BitTable The flag to update 32-bit table. + @param Smbios64BitTable The flag to update 64-bit table. + +**/ +VOID +EFIAPI +SmbiosTableConstruction ( + BOOLEAN Smbios32BitTable, + BOOLEAN Smbios64BitTable + ); + #endif