Cc: Feng Tian <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <[email protected]>
---
 MdePkg/Include/IndustryStandard/TcgStorageCore.h | 12 ++++++++++++
 MdePkg/Include/IndustryStandard/TcgStorageOpal.h |  1 +
 2 files changed, 13 insertions(+)

diff --git a/MdePkg/Include/IndustryStandard/TcgStorageCore.h 
b/MdePkg/Include/IndustryStandard/TcgStorageCore.h
index 9549c00..26b39a5 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
@@ -300,6 +301,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 66027da..91d5008 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()
-- 
2.6.4.windows.1

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to