diff options
author | Eric Dong <eric.dong@intel.com> | 2016-04-22 10:54:05 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-05-05 12:52:46 +0800 |
commit | b20e0d29fa99d7e6126930e133afada55ad1bc66 (patch) | |
tree | af98e5ee34294a9ce7f7f0c2a13e66f021806887 /SecurityPkg/Include | |
parent | 19d539af756429815310ebaffb443409e94da809 (diff) | |
download | edk2-platforms-b20e0d29fa99d7e6126930e133afada55ad1bc66.tar.xz |
SecurityPkg TcgStorageOpalLib: Check BlockSid capability.
Check the BlockSid feature capability through check
BlockSid header in the DiscoveryHeader.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Diffstat (limited to 'SecurityPkg/Include')
-rw-r--r-- | SecurityPkg/Include/Library/TcgStorageOpalLib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/SecurityPkg/Include/Library/TcgStorageOpalLib.h b/SecurityPkg/Include/Library/TcgStorageOpalLib.h index a9b4f2fe6e..108affc422 100644 --- a/SecurityPkg/Include/Library/TcgStorageOpalLib.h +++ b/SecurityPkg/Include/Library/TcgStorageOpalLib.h @@ -76,6 +76,12 @@ typedef struct { // 1 - The initial C_PIN_SID PIN value is equal to the C_PIN_MSID PIN value
//
UINT32 CpinUponRevert : 1;
+
+ //
+ // Media encryption supported (0 - not supported, 1 - supported)
+ //
+ UINT32 BlockSid : 1;
+
} OPAL_DISK_SUPPORT_ATTRIBUTE;
//
|