diff options
author | Eric Dong <eric.dong@intel.com> | 2016-04-22 10:50:50 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-06 16:20:16 +0800 |
commit | 87ea341a14695f14da5f1dd48490247c1dc2e6ca (patch) | |
tree | 38199c185398184c5367e1c2efc3ad940161a06d | |
parent | cf938ea1b9a6e1de69f906dddea5890d2dca1c54 (diff) | |
download | edk2-platforms-87ea341a14695f14da5f1dd48490247c1dc2e6ca.tar.xz |
MdePkg: Add TCG_BLOCK_SID_FEATURE_DESCRIPTOR definition.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
(cherry picked from commit 19d539af756429815310ebaffb443409e94da809)
-rw-r--r-- | MdePkg/Include/IndustryStandard/TcgStorageCore.h | 12 | ||||
-rw-r--r-- | MdePkg/Include/IndustryStandard/TcgStorageOpal.h | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/MdePkg/Include/IndustryStandard/TcgStorageCore.h b/MdePkg/Include/IndustryStandard/TcgStorageCore.h index 74253f804d..56ea92f2eb 100644 --- a/MdePkg/Include/IndustryStandard/TcgStorageCore.h +++ b/MdePkg/Include/IndustryStandard/TcgStorageCore.h @@ -228,6 +228,7 @@ typedef enum { #define TCG_FEATURE_OPAL_SSC_V2_0_0 (UINT16)0x0203
#define TCG_FEATURE_OPAL_SSC_LITE (UINT16)0x0301
#define TCG_FEATURE_PYRITE_SSC (UINT16)0x0302
+#define TCG_FEATURE_BLOCK_SID (UINT16)0x0402
// ACE Expression values
#define TCG_ACE_EXPRESSION_AND 0x0
@@ -304,6 +305,17 @@ typedef struct { typedef struct {
TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER Header;
+ UINT8 SIDValueState : 1;
+ UINT8 SIDBlockedState : 1;
+ UINT8 Reserved4 : 6;
+ UINT8 HardwareReset : 1;
+ UINT8 Reserved5 : 7;
+ UINT8 Reserved615[10];
+} TCG_BLOCK_SID_FEATURE_DESCRIPTOR;
+
+
+typedef struct {
+ TCG_LEVEL0_FEATURE_DESCRIPTOR_HEADER Header;
UINT8 SyncSupported : 1;
UINT8 AsyncSupported : 1;
UINT8 AckNakSupported : 1;
diff --git a/MdePkg/Include/IndustryStandard/TcgStorageOpal.h b/MdePkg/Include/IndustryStandard/TcgStorageOpal.h index 66027da6a8..91d5008c05 100644 --- a/MdePkg/Include/IndustryStandard/TcgStorageOpal.h +++ b/MdePkg/Include/IndustryStandard/TcgStorageOpal.h @@ -173,6 +173,7 @@ typedef union { OPAL_SSCV2_FEATURE_DESCRIPTOR OpalSscV2;
OPAL_SSCLITE_FEATURE_DESCRIPTOR OpalSscLite;
PYRITE_SSC_FEATURE_DESCRIPTOR PyriteSsc;
+ TCG_BLOCK_SID_FEATURE_DESCRIPTOR BlockSid;
} OPAL_LEVEL0_FEATURE_DESCRIPTOR;
#pragma pack()
|