Revision: 18806
          http://sourceforge.net/p/edk2/code/18806
Author:   vanjeff
Date:     2015-11-16 08:04:49 +0000 (Mon, 16 Nov 2015)
Log Message:
-----------
Move Smbios table MAX length definition to Mde header filer.

So that other module can also refer to them.

(Sync patch r18674 from main trunk.)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <[email protected]>
Reviewed-by: "Zeng, Star" <[email protected]>

Revision Links:
--------------
    http://sourceforge.net/p/edk2/code/18674

Modified Paths:
--------------
    branches/UDK2015/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h
    branches/UDK2015/MdePkg/Include/IndustryStandard/SmBios.h

Modified: branches/UDK2015/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h
===================================================================
--- branches/UDK2015/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h       
2015-11-16 08:03:52 UTC (rev 18805)
+++ branches/UDK2015/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.h       
2015-11-16 08:04:49 UTC (rev 18806)
@@ -31,18 +31,6 @@
 #include <Library/UefiBootServicesTableLib.h>
 #include <Library/PcdLib.h>
 
-//
-// The length of the entire structure table (including all strings) must be 
reported
-// in the Structure Table Length field of the SMBIOS Structure Table Entry 
Point,
-// which is a WORD field limited to 65,535 bytes.
-//
-#define SMBIOS_TABLE_MAX_LENGTH 0xFFFF
-
-//
-// For SMBIOS 3.0, Structure table maximum size in Entry Point structure is 
DWORD field limited to 0xFFFFFFFF bytes.
-//
-#define SMBIOS_3_0_TABLE_MAX_LENGTH 0xFFFFFFFF
-
 #define SMBIOS_INSTANCE_SIGNATURE SIGNATURE_32 ('S', 'B', 'i', 's')
 typedef struct {
   UINT32                Signature;

Modified: branches/UDK2015/MdePkg/Include/IndustryStandard/SmBios.h
===================================================================
--- branches/UDK2015/MdePkg/Include/IndustryStandard/SmBios.h   2015-11-16 
08:03:52 UTC (rev 18805)
+++ branches/UDK2015/MdePkg/Include/IndustryStandard/SmBios.h   2015-11-16 
08:04:49 UTC (rev 18806)
@@ -38,6 +38,18 @@
 ///
 #define SMBIOS_STRING_MAX_LENGTH     64
 
+//
+// The length of the entire structure table (including all strings) must be 
reported
+// in the Structure Table Length field of the SMBIOS Structure Table Entry 
Point,
+// which is a WORD field limited to 65,535 bytes.
+//
+#define SMBIOS_TABLE_MAX_LENGTH 0xFFFF
+
+//
+// For SMBIOS 3.0, Structure table maximum size in Entry Point structure is 
DWORD field limited to 0xFFFFFFFF bytes.
+//
+#define SMBIOS_3_0_TABLE_MAX_LENGTH 0xFFFFFFFF
+
 ///
 /// Inactive type is added from SMBIOS 2.2. Reference SMBIOS 2.6, chapter 
3.3.43.
 /// Upper-level software that interprets the SMBIOS structure-table should 
bypass an 


------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to