]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Include/Library/TpmCommLib.h
SecurityPkg: Clean up source files
[mirror_edk2.git] / SecurityPkg / Include / Library / TpmCommLib.h
index 6c97569c67a4ba09948da865dcd1a5b5a7cfb1df..bdb15fd3f602197e90f3bb27996b2b1c237194c2 100644 (file)
@@ -2,13 +2,13 @@
   This library is only intended to be used by TPM modules.\r
   It provides basic TPM Interface Specification (TIS) and Command functions.\r
 \r
-Copyright (c) 2005 - 2016, 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) 2005 - 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
@@ -161,7 +161,7 @@ typedef TIS_PC_REGISTERS  *TIS_PC_REGISTERS_PTR;
 #define TIS_PC_ACC_ESTABLISH        BIT0\r
 \r
 ///\r
-/// When this bit is 1, TPM is in the Ready state, \r
+/// When this bit is 1, TPM is in the Ready state,\r
 /// indicating it is ready to receive a new command.\r
 ///\r
 #define TIS_PC_STS_READY            BIT6\r
@@ -210,13 +210,13 @@ EFI_STATUS
 EFIAPI\r
 TisPcWaitRegisterBits (\r
   IN UINT8   *Register,\r
-  IN UINT8   BitSet,   \r
-  IN UINT8   BitClear, \r
-  IN UINT32  TimeOut   \r
+  IN UINT8   BitSet,\r
+  IN UINT8   BitClear,\r
+  IN UINT32  TimeOut\r
   );\r
 \r
 /**\r
-  Get BurstCount by reading the burstCount field of a TIS regiger \r
+  Get BurstCount by reading the burstCount field of a TIS regiger\r
   in the time of default TIS_TIMEOUT_D.\r
 \r
   @param[in]  TisReg                Pointer to TIS register.\r
@@ -234,7 +234,7 @@ TisPcReadBurstCount (
   );\r
 \r
 /**\r
-  Set TPM chip to ready state by sending ready command TIS_PC_STS_READY \r
+  Set TPM chip to ready state by sending ready command TIS_PC_STS_READY\r
   to Status Register in time.\r
 \r
   @param[in] TisReg                Pointer to TIS register.\r
@@ -250,7 +250,7 @@ TisPcPrepareCommand (
   );\r
 \r
 /**\r
-  Get the control of TPM chip by sending requestUse command TIS_PC_ACC_RQUUSE \r
+  Get the control of TPM chip by sending requestUse command TIS_PC_ACC_RQUUSE\r
   to ACCESS Register in the time of default TIS_TIMEOUT_D.\r
 \r
   @param[in] TisReg                Pointer to TIS register.\r
@@ -273,7 +273,7 @@ TisPcRequestUseTpm (
   @param[in]  Data          Raw data to be digested.\r
   @param[in]  DataLen       Size of the raw data.\r
   @param[out] Digest        Pointer to a buffer that stores the final digest.\r
-  \r
+\r
   @retval     EFI_SUCCESS   Always successfully calculate the final digest.\r
 **/\r
 EFI_STATUS\r