#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
}\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
- @param[out] BurstCount Pointer to a buffer to store the got BurstConut.\r
+ @param[out] BurstCount Pointer to a buffer to store the got BurstCount.\r
\r
@retval EFI_SUCCESS Get BurstCount.\r
@retval EFI_INVALID_PARAMETER TisReg is NULL or BurstCount is NULL.\r
TIS_TIMEOUT_B\r
);\r
//\r
- // Do not clear CANCEL bit here bicoz Writes of 0 to this bit are ignored\r
+ // Do not clear CANCEL bit here because Writes of 0 to this bit are ignored\r
//\r
if (EFI_ERROR (Status)) {\r
//\r
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