mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
SecurityPkg/Library/Tpm: Fix various typos
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>
This commit is contained in:
parent
ce4cca7c06
commit
f9fd0c2108
@ -185,7 +185,7 @@ typedef TIS_PC_REGISTERS *TIS_PC_REGISTERS_PTR;
|
|||||||
#define TIS_TIMEOUT_D 750 * 1000 // 750ms
|
#define TIS_TIMEOUT_D 750 * 1000 // 750ms
|
||||||
|
|
||||||
//
|
//
|
||||||
// Max TPM command/reponse length
|
// Max TPM command/response length
|
||||||
//
|
//
|
||||||
#define TPMCMDBUFLENGTH 1024
|
#define TPMCMDBUFLENGTH 1024
|
||||||
|
|
||||||
@ -210,7 +210,7 @@ TisPcWaitRegisterBits (
|
|||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Get BurstCount by reading the burstCount field of a TIS regiger
|
Get BurstCount by reading the burstCount field of a TIS register
|
||||||
in the time of default TIS_TIMEOUT_D.
|
in the time of default TIS_TIMEOUT_D.
|
||||||
|
|
||||||
@param[in] TisReg Pointer to TIS register.
|
@param[in] TisReg Pointer to TIS register.
|
||||||
|
@ -28,7 +28,7 @@ typedef enum {
|
|||||||
} PTP_INTERFACE_TYPE;
|
} PTP_INTERFACE_TYPE;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Max TPM command/reponse length
|
// Max TPM command/response length
|
||||||
//
|
//
|
||||||
#define TPMCMDBUFLENGTH 1024
|
#define TPMCMDBUFLENGTH 1024
|
||||||
|
|
||||||
@ -121,7 +121,7 @@ Tpm12TisPcWaitRegisterBits (
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Get BurstCount by reading the burstCount field of a TIS regiger
|
Get BurstCount by reading the burstCount field of a TIS register
|
||||||
in the time of default TIS_TIMEOUT_D.
|
in the time of default TIS_TIMEOUT_D.
|
||||||
|
|
||||||
@param[in] TisReg Pointer to TIS register.
|
@param[in] TisReg Pointer to TIS register.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Implement TPM2 Miscellanenous related command.
|
Implement TPM2 Miscellaneous related command.
|
||||||
|
|
||||||
Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved. <BR>
|
Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved. <BR>
|
||||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||||
|
@ -26,7 +26,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
|||||||
#define PTP_TIMEOUT_MAX (90000 * 1000) // 90s
|
#define PTP_TIMEOUT_MAX (90000 * 1000) // 90s
|
||||||
|
|
||||||
//
|
//
|
||||||
// Max TPM command/reponse length
|
// Max TPM command/response length
|
||||||
//
|
//
|
||||||
#define TPMCMDBUFLENGTH 0x500
|
#define TPMCMDBUFLENGTH 0x500
|
||||||
|
|
||||||
@ -290,7 +290,7 @@ PtpCrbTpmCommand (
|
|||||||
DEBUG ((EFI_D_VERBOSE, "\n"));
|
DEBUG ((EFI_D_VERBOSE, "\n"));
|
||||||
);
|
);
|
||||||
//
|
//
|
||||||
// Check the reponse data header (tag, parasize and returncode)
|
// Check the response data header (tag, parasize and returncode)
|
||||||
//
|
//
|
||||||
CopyMem (&Data16, BufferOut, sizeof (UINT16));
|
CopyMem (&Data16, BufferOut, sizeof (UINT16));
|
||||||
// TPM2 should not use this RSP_COMMAND
|
// TPM2 should not use this RSP_COMMAND
|
||||||
|
@ -22,7 +22,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
|||||||
#define TIS_TIMEOUT_MAX (90000 * 1000) // 90s
|
#define TIS_TIMEOUT_MAX (90000 * 1000) // 90s
|
||||||
|
|
||||||
//
|
//
|
||||||
// Max TPM command/reponse length
|
// Max TPM command/response length
|
||||||
//
|
//
|
||||||
#define TPMCMDBUFLENGTH 0x500
|
#define TPMCMDBUFLENGTH 0x500
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ TisPcWaitRegisterBits (
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Get BurstCount by reading the burstCount field of a TIS regiger
|
Get BurstCount by reading the burstCount field of a TIS register
|
||||||
in the time of default TIS_TIMEOUT_D.
|
in the time of default TIS_TIMEOUT_D.
|
||||||
|
|
||||||
@param[in] TisReg Pointer to TIS register.
|
@param[in] TisReg Pointer to TIS register.
|
||||||
@ -340,7 +340,7 @@ Tpm2TisTpmCommand (
|
|||||||
DEBUG ((EFI_D_VERBOSE, "\n"));
|
DEBUG ((EFI_D_VERBOSE, "\n"));
|
||||||
);
|
);
|
||||||
//
|
//
|
||||||
// Check the reponse data header (tag,parasize and returncode )
|
// Check the response data header (tag,parasize and returncode )
|
||||||
//
|
//
|
||||||
CopyMem (&Data16, BufferOut, sizeof (UINT16));
|
CopyMem (&Data16, BufferOut, sizeof (UINT16));
|
||||||
// TPM2 should not use this RSP_COMMAND
|
// TPM2 should not use this RSP_COMMAND
|
||||||
|
@ -60,7 +60,7 @@ TisPcWaitRegisterBits (
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Get BurstCount by reading the burstCount field of a TIS regiger
|
Get BurstCount by reading the burstCount field of a TIS register
|
||||||
in the time of default TIS_TIMEOUT_D.
|
in the time of default TIS_TIMEOUT_D.
|
||||||
|
|
||||||
@param[in] TisReg Pointer to TIS register.
|
@param[in] TisReg Pointer to TIS register.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user