]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/Tcg2Protocol.h
MdePkg: Clean up source files
[mirror_edk2.git] / MdePkg / Include / Protocol / Tcg2Protocol.h
index 0bda105a44814f949ea1d82a4ecabc97a5d52c49..09dc179417fb66933efeb97a9e4af7ed319935be 100644 (file)
@@ -2,13 +2,13 @@
   TPM2 Protocol as defined in TCG PC Client Platform EFI Protocol Specification Family "2.0".\r
   See http://trustedcomputinggroup.org for the latest specification\r
 \r
-Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution.  The full text of the license may be found at \r
+Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution.  The full text of the license may be found at\r
 http://opensource.org/licenses/bsd-license.php\r
 \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
@@ -44,13 +44,13 @@ typedef struct tdEFI_TCG2_BOOT_SERVICE_CAPABILITY {
   //\r
   // Version of the EFI_TCG2_BOOT_SERVICE_CAPABILITY structure itself.\r
   // For this version of the protocol, the Major version shall be set to 1\r
-  // and the Minor version shall be set to 1. \r
+  // and the Minor version shall be set to 1.\r
   //\r
   EFI_TCG2_VERSION                 StructureVersion;\r
   //\r
   // Version of the EFI TCG2 protocol.\r
   // For this version of the protocol, the Major version shall be set to 1\r
-  // and the Minor version shall be set to 1. \r
+  // and the Minor version shall be set to 1.\r
   //\r
   EFI_TCG2_VERSION                 ProtocolVersion;\r
   //\r
@@ -116,7 +116,7 @@ typedef struct tdEFI_TCG2_BOOT_SERVICE_CAPABILITY {
 \r
 typedef struct {\r
   //\r
-  // Size of the event header itself (sizeof(EFI_TCG2_EVENT_HEADER)). \r
+  // Size of the event header itself (sizeof(EFI_TCG2_EVENT_HEADER)).\r
   //\r
   UINT32            HeaderSize;\r
   //\r
@@ -124,18 +124,18 @@ typedef struct {
   //\r
   UINT16            HeaderVersion;\r
   //\r
-  // Index of the PCR that shall be extended (0 - 23). \r
+  // Index of the PCR that shall be extended (0 - 23).\r
   //\r
   TCG_PCRINDEX      PCRIndex;\r
   //\r
-  // Type of the event that shall be extended (and optionally logged). \r
+  // Type of the event that shall be extended (and optionally logged).\r
   //\r
   TCG_EVENTTYPE     EventType;\r
 } EFI_TCG2_EVENT_HEADER;\r
 \r
 typedef struct tdEFI_TCG2_EVENT {\r
   //\r
-  // Total size of the event including the Size component, the header and the Event data. \r
+  // Total size of the event including the Size component, the header and the Event data.\r
   //\r
   UINT32                Size;\r
   EFI_TCG2_EVENT_HEADER Header;\r
@@ -157,11 +157,11 @@ typedef struct tdEFI_TCG2_EVENT {
 \r
   @retval EFI_SUCCESS            Operation completed successfully.\r
   @retval EFI_DEVICE_ERROR       The command was unsuccessful.\r
-                                 The ProtocolCapability variable will not be populated. \r
+                                 The ProtocolCapability variable will not be populated.\r
   @retval EFI_INVALID_PARAMETER  One or more of the parameters are incorrect.\r
                                  The ProtocolCapability variable will not be populated.\r
   @retval EFI_BUFFER_TOO_SMALL   The ProtocolCapability variable is too small to hold the full response.\r
-                                 It will be partially populated (required Size field will be set). \r
+                                 It will be partially populated (required Size field will be set).\r
 **/\r
 typedef\r
 EFI_STATUS\r
@@ -172,7 +172,7 @@ EFI_STATUS
 \r
 /**\r
   The EFI_TCG2_PROTOCOL Get Event Log function call allows a caller to\r
-  retrieve the address of a given event log and its last entry. \r
+  retrieve the address of a given event log and its last entry.\r
 \r
   @param[in]  This               Indicates the calling context\r
   @param[in]  EventLogFormat     The type of the event log for which the information is requested.\r
@@ -200,13 +200,13 @@ EFI_STATUS
 /**\r
   The EFI_TCG2_PROTOCOL HashLogExtendEvent function call provides callers with\r
   an opportunity to extend and optionally log events without requiring\r
-  knowledge of actual TPM commands. \r
+  knowledge of actual TPM commands.\r
   The extend operation will occur even if this function cannot create an event\r
-  log entry (e.g. due to the event log being full). \r
+  log entry (e.g. due to the event log being full).\r
 \r
   @param[in]  This               Indicates the calling context\r
   @param[in]  Flags              Bitmap providing additional information.\r
-  @param[in]  DataToHash         Physical address of the start of the data buffer to be hashed. \r
+  @param[in]  DataToHash         Physical address of the start of the data buffer to be hashed.\r
   @param[in]  DataToHashLen      The length in bytes of the buffer referenced by DataToHash.\r
   @param[in]  EfiTcgEvent        Pointer to data buffer containing information about the event.\r
 \r
@@ -238,7 +238,7 @@ EFI_STATUS
   @retval EFI_SUCCESS            The command byte stream was successfully sent to the device and a response was successfully received.\r
   @retval EFI_DEVICE_ERROR       The command was not successfully sent to the device or a response was not successfully received from the device.\r
   @retval EFI_INVALID_PARAMETER  One or more of the parameters are incorrect.\r
-  @retval EFI_BUFFER_TOO_SMALL   The output parameter block is too small. \r
+  @retval EFI_BUFFER_TOO_SMALL   The output parameter block is too small.\r
 **/\r
 typedef\r
 EFI_STATUS\r
@@ -257,7 +257,7 @@ EFI_STATUS
   @param[out] ActivePcrBanks  Pointer to the variable receiving the bitmap of currently active PCR banks.\r
 \r
   @retval EFI_SUCCESS           The bitmap of active PCR banks was stored in the ActivePcrBanks parameter.\r
-  @retval EFI_INVALID_PARAMETER One or more of the parameters are incorrect. \r
+  @retval EFI_INVALID_PARAMETER One or more of the parameters are incorrect.\r
 **/\r
 typedef\r
 EFI_STATUS\r