]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h
1. Change default PCD in SecurityPkg to 4 (DENY_EXECUTE) in DEC file.
[mirror_edk2.git] / MdeModulePkg / Universal / SmbiosDxe / SmbiosDxe.h
index 6000bda3cf01284c3d5157093d4380b9f4da005b..e81b543672f655646a0066a4bcd17957da959f8a 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 - 2012, 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
@@ -31,6 +31,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Library/UefiBootServicesTableLib.h>\r
 #include <Library/PcdLib.h>\r
 \r
+//\r
+// The length of the entire structure table (including all strings) must be reported\r
+// in the Structure Table Length field of the SMBIOS Structure Table Entry Point,\r
+// which is a WORD field limited to 65,535 bytes.\r
+//\r
+#define SMBIOS_TABLE_MAX_LENGTH 0xFFFF\r
+\r
 #define SMBIOS_INSTANCE_SIGNATURE SIGNATURE_32 ('S', 'B', 'i', 's')\r
 typedef struct {\r
   UINT32                Signature;\r
@@ -108,4 +115,13 @@ 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
+VOID\r
+EFIAPI\r
+SmbiosTableConstruction (\r
+  VOID\r
+  );\r
+\r
 #endif\r