summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2016-04-15 11:05:27 +0800
committerLiming Gao <liming.gao@intel.com>2016-05-05 12:52:45 +0800
commit81c1b6df92184f07446b6cf197b18c61ad8b73f0 (patch)
tree3bf7b2e48129a6b4758f4b15b5354462abe282a7 /MdePkg
parentcb3077230f3a6f65c747840c511d739b95955369 (diff)
downloadedk2-81c1b6df92184f07446b6cf197b18c61ad8b73f0.zip
edk2-81c1b6df92184f07446b6cf197b18c61ad8b73f0.tar.gz
edk2-81c1b6df92184f07446b6cf197b18c61ad8b73f0.tar.bz2
SecurityPkg TcgStorageOpalLib: Update ComId for Block SID command.
The ComId for Block SID authentication command is 0x0005 according to "TCG Storage Feature Set: Block SID Authentication Specification Version 1.0.0". Update code to follow this spec requirement. 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 'MdePkg')
-rw-r--r--MdePkg/Include/IndustryStandard/TcgStorageCore.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/MdePkg/Include/IndustryStandard/TcgStorageCore.h b/MdePkg/Include/IndustryStandard/TcgStorageCore.h
index 9549c00..74253f8 100644
--- a/MdePkg/Include/IndustryStandard/TcgStorageCore.h
+++ b/MdePkg/Include/IndustryStandard/TcgStorageCore.h
@@ -261,6 +261,10 @@ ATA 8 Rev6a Table 68 7.57.6.2
#define TCG_RESERVED_COMID 0x0000
+// Defined in TCG Storage Feature Set:Block SID Authentication spec,
+// ComId used for BlockSid command is hardcode 0x0005.
+#define TCG_BLOCKSID_COMID 0x0005
+
#pragma pack(1)
typedef struct {
UINT8 Reserved[6];