]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/TcgService.h
Update comments for Protocol definitions to match UEFI spec.
[mirror_edk2.git] / MdePkg / Include / Protocol / TcgService.h
index 430e4a6a84b1cb8eb3064e3019b2ea7e0a131fbd..1c9c149d14a166183166c523760a3a8df01baa8b 100644 (file)
@@ -26,8 +26,6 @@ typedef struct _EFI_TCG_PROTOCOL EFI_TCG_PROTOCOL;
 //\r
 // Set structure alignment to 1-byte\r
 //\r
-#pragma pack (1)\r
-\r
 typedef struct {\r
   UINT8  Major;\r
   UINT8  Minor;\r
@@ -47,11 +45,6 @@ typedef struct _TCG_EFI_BOOT_SERVICE_CAPABILITY {
 \r
 typedef UINT32   TCG_ALGORITHM_ID;\r
 \r
-//\r
-// Restore original structure alignment\r
-//\r
-#pragma pack ()\r
-\r
 /**\r
   This service provides EFI protocol capability information, state information \r
   about the TPM, and Event Log state information.\r
@@ -204,22 +197,9 @@ EFI_STATUS
      OUT  EFI_PHYSICAL_ADDRESS      *EventLogLastEntry\r
   );\r
 \r
-/**\r
-  @par Protocol Description:\r
-  The EFI_TCG Protocol abstracts TCG activity.\r
-\r
-  @param  StatusCheck        This service provides information on the TPM.\r
-  @param  HashAll            This service abstracts the capability to do a hash \r
-                             operation on a data buffer.\r
-  @param  LogEvent           This service abstracts the capability to add \r
-                             an entry to the Event Log.\r
-  @param  PassThroughToTPM   This service provides a pass-through capability \r
-                             from the caller to the system's TPM.\r
-  @param  HashLogExtendEvent This service abstracts the capability to do a hash \r
-                             operation on a data buffer, extend a specific TPM PCR \r
-                             with the hash result, and add an entry to the Event Log. \r
-\r
-**/\r
+///\r
+/// The EFI_TCG Protocol abstracts TCG activity.\r
+///\r
 struct _EFI_TCG_PROTOCOL {\r
   EFI_TCG_STATUS_CHECK              StatusCheck;\r
   EFI_TCG_HASH_ALL                  HashAll;\r