From f2d0889ff857e90351d2e26898aa9ea6b0a5dc35 Mon Sep 17 00:00:00 2001 From: klu2 Date: Mon, 13 Jul 2009 13:52:28 +0000 Subject: [PATCH] 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 --- MdePkg/Include/IndustryStandard/SmBios.h | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/SmBios.h index 62a2cf7088..79ed6962bc 100644 --- a/MdePkg/Include/IndustryStandard/SmBios.h +++ b/MdePkg/Include/IndustryStandard/SmBios.h @@ -15,6 +15,32 @@ #ifndef __SMBIOS_STANDARD_H__ #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 ///