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>
This commit is contained in:
Eric Dong 2016-04-22 10:50:50 +08:00 committed by Liming Gao
parent 81c1b6df92
commit 19d539af75
2 changed files with 13 additions and 0 deletions

View File

@ -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
@ -302,6 +303,17 @@ typedef struct {
UINT8 Reserved515[11];
} TCG_LOCKING_FEATURE_DESCRIPTOR;
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;

View File

@ -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()