summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/TcgService.h
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-09 14:04:41 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-09 14:04:41 +0000
commit992f22b99a90d1b217b1e6f702b238f1ff319753 (patch)
tree50fb6f472776aef941ad8a2661d9d776a9b6145c /MdePkg/Include/Protocol/TcgService.h
parentd0a915a5ad4efb7e2d0d7a29fc157bdf1b475d80 (diff)
downloadedk2-platforms-992f22b99a90d1b217b1e6f702b238f1ff319753.tar.xz
Add the detailed descriptions for the structure data member in these protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6935 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol/TcgService.h')
-rw-r--r--MdePkg/Include/Protocol/TcgService.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/MdePkg/Include/Protocol/TcgService.h b/MdePkg/Include/Protocol/TcgService.h
index 1c9c149d14..1f378535cf 100644
--- a/MdePkg/Include/Protocol/TcgService.h
+++ b/MdePkg/Include/Protocol/TcgService.h
@@ -23,9 +23,6 @@
typedef struct _EFI_TCG_PROTOCOL EFI_TCG_PROTOCOL;
-//
-// Set structure alignment to 1-byte
-//
typedef struct {
UINT8 Major;
UINT8 Minor;
@@ -34,13 +31,13 @@ typedef struct {
} TCG_VERSION;
typedef struct _TCG_EFI_BOOT_SERVICE_CAPABILITY {
- UINT8 Size; // Size of this structure
+ UINT8 Size; /// Size of this structure
TCG_VERSION StructureVersion;
TCG_VERSION ProtocolSpecVersion;
- UINT8 HashAlgorithmBitmap; // Hash algorithms
- // this protocol is capable of : 01=SHA-1
- BOOLEAN TPMPresentFlag; // 00h = TPM not present
- BOOLEAN TPMDeactivatedFlag; // 01h = TPM currently deactivated
+ UINT8 HashAlgorithmBitmap; /// Hash algorithms
+ /// this protocol is capable of : 01=SHA-1
+ BOOLEAN TPMPresentFlag; /// 00h = TPM not present
+ BOOLEAN TPMDeactivatedFlag; /// 01h = TPM currently deactivated
} TCG_EFI_BOOT_SERVICE_CAPABILITY;
typedef UINT32 TCG_ALGORITHM_ID;