]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h
MdeModulePkg/UdfDxe: suppress incorrect compiler warning in ReadFile()
[mirror_edk2.git] / MdeModulePkg / Universal / SmbiosDxe / SmbiosDxe.h
index 6000bda3cf01284c3d5157093d4380b9f4da005b..10cff8dd59f69971e03e4919915e77996f63e8a1 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   This code supports the implementation of the Smbios protocol\r
   \r
-Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2015, 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
@@ -82,6 +82,11 @@ typedef struct {
   LIST_ENTRY                Link;\r
   EFI_SMBIOS_RECORD_HEADER  *RecordHeader;\r
   UINTN                     RecordSize;\r
+  //\r
+  // Indicate which table this record is added to.\r
+  //\r
+  BOOLEAN                   Smbios32BitTable;\r
+  BOOLEAN                   Smbios64BitTable;\r
 } EFI_SMBIOS_ENTRY;\r
 \r
 #define SMBIOS_ENTRY_FROM_LINK(link)  CR (link, EFI_SMBIOS_ENTRY, Link, EFI_SMBIOS_ENTRY_SIGNATURE)\r
@@ -108,4 +113,18 @@ typedef struct {
   UINT8                    Tailing[2];\r
 } EFI_SMBIOS_TABLE_END_STRUCTURE;\r
 \r
+/**\r
+  Create Smbios Table and installs the Smbios Table to the System Table.\r
+  \r
+  @param  Smbios32BitTable    The flag to update 32-bit table.\r
+  @param  Smbios64BitTable    The flag to update 64-bit table.\r
+  \r
+**/\r
+VOID\r
+EFIAPI\r
+SmbiosTableConstruction (\r
+  BOOLEAN     Smbios32BitTable,\r
+  BOOLEAN     Smbios64BitTable\r
+  );\r
+\r
 #endif\r