SecurityPkg/Tcg: Fix various typos

Fix various typos in documentation, comments and debug strings.

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-66-philmd@redhat.com>
[lersek@redhat.com: replace EFI_D_xxx w/ DEBUG_xxx to shut up PatchCheck]
This commit is contained in:
Antoine Coeur
2020-02-07 02:08:18 +01:00
committed by mergify[bot]
parent f9fd0c2108
commit dd40a1f85c
14 changed files with 27 additions and 27 deletions

View File

@ -61,7 +61,7 @@ OnReadyToBoot (
Typically, there are 2 mechanism for resetting eDrive. They are:
1. TPer Reset through IEEE 1667 protocol.
2. TPer Reset through native TCG protocol.
This routine will detect what protocol the attached eDrive comform to, TCG or
This routine will detect what protocol the attached eDrive conform to, TCG or
IEEE 1667 protocol. Then send out TPer Reset command separately.
@param[in] Ssp The pointer to EFI_STORAGE_SECURITY_COMMAND_PROTOCOL instance.
@ -109,7 +109,7 @@ InitiateTPerReset (
MediaId,
100000000, // Timeout 10-sec
0, // SecurityProtocol
0, // SecurityProtocolSpecifcData
0, // SecurityProtocolSpecificData
Len, // PayloadBufferSize,
Buffer, // PayloadBuffer
&XferSize
@ -145,7 +145,7 @@ InitiateTPerReset (
MediaId,
100000000, // Timeout 10-sec
0, // SecurityProtocol
0, // SecurityProtocolSpecifcData
0, // SecurityProtocolSpecificData
Len, // PayloadBufferSize,
Buffer, // PayloadBuffer
&XferSize
@ -197,7 +197,7 @@ InitiateTPerReset (
MediaId,
100000000, // Timeout 10-sec
SECURITY_PROTOCOL_TCG, // SecurityProtocol
0x0400, // SecurityProtocolSpecifcData
0x0400, // SecurityProtocolSpecificData
512, // PayloadBufferSize,
Buffer // PayloadBuffer
);