]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Include/IndustryStandard/Smbios.h
Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Include / IndustryStandard / Smbios.h
index 89b30157138dafd574d63d08e21c88a54274d95a..901bd52ea7179cca9b31202b41706deb8bd0a8da 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2007 - 2010, 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
@@ -22,6 +22,32 @@ Abstract:
 \r
 #include "Tiano.h"\r
 \r
+//\r
+// Reference SMBIOS 2.6, chapter 3.1.2.\r
+// For v2.1 and later, handle values in the range 0FF00h to 0FFFFh are reserved for\r
+// use by this specification.\r
+//\r
+#define SMBIOS_HANDLE_RESERVED_BEGIN 0xFF00\r
+\r
+//\r
+// Reference SMBIOS 2.6, chapter 3.1.3\r
+// Each text string is limited to 64 significant characters due to system MIF limitations\r
+//\r
+#define SMBIOS_STRING_MAX_LENGTH     64\r
+\r
+//\r
+// Inactive type is added from SMBIOS 2.2. Reference SMBIOS 2.6, chapter 3.3.43.\r
+// Upper-level software that interprets the SMBIOS structure-table should bypass an \r
+// Inactive structure just like a structure type that the software does not recognize.\r
+//\r
+#define SMBIOS_TYPE_INACTIVE         0x007E    \r
+\r
+//\r
+// End-of-table type is added from SMBIOS 2.2. Reference SMBIOS 2.6, chapter 3.3.44.\r
+// The end-of-table indicator is used in the last physical structure in a table\r
+//\r
+#define SMBIOS_TYPE_END_OF_TABLE     0x007F\r
+\r
 #pragma pack(1)\r
 \r
 typedef UINT8 SMBIOS_TABLE_STRING;\r