]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SecurityPkg/Library/Tpm: Fix various typos
authorAntoine Coeur <coeur@gmx.fr>
Fri, 7 Feb 2020 01:08:17 +0000 (02:08 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 10 Feb 2020 22:30:07 +0000 (22:30 +0000)
Fix various typos in comments and documentation.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-65-philmd@redhat.com>

SecurityPkg/Include/Library/TpmCommLib.h
SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12Tis.c
SecurityPkg/Library/Tpm2CommandLib/Tpm2Miscellaneous.c
SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c
SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c
SecurityPkg/Library/TpmCommLib/TisPc.c

index 7e102a6a117d555745e1d811780f48ff55ab4f9d..1d18f8d837dbcb69c21d80529f8ddeb5b3877313 100644 (file)
@@ -185,7 +185,7 @@ typedef TIS_PC_REGISTERS  *TIS_PC_REGISTERS_PTR;
 #define TIS_TIMEOUT_D               750 * 1000   // 750ms\r
 \r
 //\r
-// Max TPM command/reponse length\r
+// Max TPM command/response length\r
 //\r
 #define TPMCMDBUFLENGTH             1024\r
 \r
@@ -210,7 +210,7 @@ TisPcWaitRegisterBits (
   );\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 register\r
   in the time of default TIS_TIMEOUT_D.\r
 \r
   @param[in]  TisReg                Pointer to TIS register.\r
index 1caa076203ba3dd44d41ee92dc9766546c0c694e..f858090479e688d7228d236245ecf3858601f906 100644 (file)
@@ -28,7 +28,7 @@ typedef enum {
 } PTP_INTERFACE_TYPE;\r
 \r
 //\r
-// Max TPM command/reponse length\r
+// Max TPM command/response length\r
 //\r
 #define TPMCMDBUFLENGTH             1024\r
 \r
@@ -121,7 +121,7 @@ Tpm12TisPcWaitRegisterBits (
 }\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 register\r
   in the time of default TIS_TIMEOUT_D.\r
 \r
   @param[in]  TisReg                Pointer to TIS register.\r
index 21f3bb5adf8e1eee1cf42890f713d0b308b471b3..32bff458448e0bece5328426f6807fed97c5fbf1 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-  Implement TPM2 Miscellanenous related command.\r
+  Implement TPM2 Miscellaneous related command.\r
 \r
 Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved. <BR>\r
 SPDX-License-Identifier: BSD-2-Clause-Patent\r
index b671cef04ed7fc627a2aa73778265c0db09e5edc..2c73385b6ce518ea1b46ae035c3f13e69c1e3ab8 100644 (file)
@@ -26,7 +26,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 #define PTP_TIMEOUT_MAX             (90000 * 1000)  // 90s\r
 \r
 //\r
-// Max TPM command/reponse length\r
+// Max TPM command/response length\r
 //\r
 #define TPMCMDBUFLENGTH             0x500\r
 \r
@@ -290,7 +290,7 @@ PtpCrbTpmCommand (
     DEBUG ((EFI_D_VERBOSE, "\n"));\r
   );\r
   //\r
-  // Check the reponse data header (tag, parasize and returncode)\r
+  // Check the response data header (tag, parasize and returncode)\r
   //\r
   CopyMem (&Data16, BufferOut, sizeof (UINT16));\r
   // TPM2 should not use this RSP_COMMAND\r
index bbebc94b4d01db66268c8e5c4a64f91002a91f49..9a809612b3d9d3e421174f1e342a6b3a62aaecd5 100644 (file)
@@ -22,7 +22,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 #define TIS_TIMEOUT_MAX             (90000 * 1000)  // 90s\r
 \r
 //\r
-// Max TPM command/reponse length\r
+// Max TPM command/response length\r
 //\r
 #define TPMCMDBUFLENGTH             0x500\r
 \r
@@ -77,7 +77,7 @@ TisPcWaitRegisterBits (
 }\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 register\r
   in the time of default TIS_TIMEOUT_D.\r
 \r
   @param[in]  TisReg                Pointer to TIS register.\r
@@ -340,7 +340,7 @@ Tpm2TisTpmCommand (
     DEBUG ((EFI_D_VERBOSE, "\n"));\r
   );\r
   //\r
-  // Check the reponse data header (tag,parasize and returncode )\r
+  // Check the response data header (tag,parasize and returncode )\r
   //\r
   CopyMem (&Data16, BufferOut, sizeof (UINT16));\r
   // TPM2 should not use this RSP_COMMAND\r
index 4a14a2bf819339e43cd4ea0d36676ee74c5e9de1..533a42e53cee58c53b775cd92e85e40383d81070 100644 (file)
@@ -60,7 +60,7 @@ TisPcWaitRegisterBits (
 }\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 register\r
   in the time of default TIS_TIMEOUT_D.\r
 \r
   @param[in]  TisReg                Pointer to TIS register.\r