]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/Tpm12.h
Use doxygen comment style for document entity such as struct, enum, variable that...
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / Tpm12.h
index f16a952107cdf2691f875e4d81150191e1997081..fc2eaa4da227228cc10346a0b54df0a0bf005718 100644 (file)
@@ -1,5 +1,4 @@
-/** \r
-       @file   \r
+/** @file   \r
   TPM Specification data structures (TCG TPM Specification Version 1.2 Revision 94)\r
   See http://trustedcomputinggroup.org for latest specification updates\r
 \r
@@ -17,9 +16,9 @@
 #ifndef _TPM12_H_\r
 #define _TPM12_H_\r
 \r
-//\r
-// The start of TPM return codes\r
-//\r
+///\r
+/// The start of TPM return codes\r
+///\r
 #define TPM_BASE                    (EFI_MAX_BIT + (EFI_MAX_BIT >> 1))\r
 \r
 //\r
@@ -406,13 +405,13 @@ typedef struct tdTPM_KEY_HANDLE_LIST {
 //\r
 // Part 2, section 5.10: TPM_KEY_FLAGS\r
 //\r
-enum tdTPM_KEY_FLAGS {\r
+typedef enum tdTPM_KEY_FLAGS {\r
   redirection                       = 0x00000001,\r
   migratable                        = 0x00000002,\r
   isVolatile                        = 0x00000004,\r
   pcrIgnoredOnRead                  = 0x00000008,\r
   migrateAuthority                  = 0x00000010\r
-};\r
+} TPM_KEY_FLAGS_BITS;\r
 \r
 //\r
 // Part 2, section 5.11: TPM_CHANGEAUTH_VALIDATE\r