]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add macro definitions indicating from SMBIOS 2.6
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 13 Jul 2009 13:52:28 +0000 (13:52 +0000)
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 13 Jul 2009 13:52:28 +0000 (13:52 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8934 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/IndustryStandard/SmBios.h

index 62a2cf7088f752ccb650de4edbb20b06beea7ef8..79ed6962bc6fe72b4bfa296c04b19ef4cc40617e 100644 (file)
 #ifndef __SMBIOS_STANDARD_H__\r
 #define __SMBIOS_STANDARD_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
 ///\r
 /// Smbios Table Entry Point Structure\r
 ///\r