summaryrefslogtreecommitdiff
path: root/MdePkg/Include
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-13 13:52:28 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-13 13:52:28 +0000
commitf2d0889ff857e90351d2e26898aa9ea6b0a5dc35 (patch)
treea597c910f6d659835893aaa924aa01fde6696237 /MdePkg/Include
parenta543bca5a680437b33662d4b521f4c648bb74290 (diff)
downloadedk2-f2d0889ff857e90351d2e26898aa9ea6b0a5dc35.zip
edk2-f2d0889ff857e90351d2e26898aa9ea6b0a5dc35.tar.gz
edk2-f2d0889ff857e90351d2e26898aa9ea6b0a5dc35.tar.bz2
Add macro definitions indicating from SMBIOS 2.6
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8934 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include')
-rw-r--r--MdePkg/Include/IndustryStandard/SmBios.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/SmBios.h
index 62a2cf7..79ed696 100644
--- a/MdePkg/Include/IndustryStandard/SmBios.h
+++ b/MdePkg/Include/IndustryStandard/SmBios.h
@@ -16,6 +16,32 @@
#define __SMBIOS_STANDARD_H__
///
+/// Reference SMBIOS 2.6, chapter 3.1.2.
+/// For v2.1 and later, handle values in the range 0FF00h to 0FFFFh are reserved for
+/// use by this specification.
+///
+#define SMBIOS_HANDLE_RESERVED_BEGIN 0xFF00
+
+///
+/// Reference SMBIOS 2.6, chapter 3.1.3
+/// Each text string is limited to 64 significant characters due to system MIF limitations
+///
+#define SMBIOS_STRING_MAX_LENGTH 64
+
+///
+/// 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
+/// Inactive structure just like a structure type that the software does not recognize.
+///
+#define SMBIOS_TYPE_INACTIVE 0x007E
+
+///
+/// End-of-table type is added from SMBIOS 2.2. Reference SMBIOS 2.6, chapter 3.3.44.
+/// The end-of-table indicator is used in the last physical structure in a table
+///
+#define SMBIOS_TYPE_END_OF_TABLE 0x007F
+
+///
/// Smbios Table Entry Point Structure
///
#pragma pack(1)