summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Tcg/MemoryOverwriteControl
diff options
context:
space:
mode:
authorAntoine Coeur <coeur@gmx.fr>2020-02-07 02:08:18 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commitdd40a1f85c846050ba9260d537f9f675b35d543c (patch)
tree80fd9e1991daff05edd860fcffdac6c42fbaa69c /SecurityPkg/Tcg/MemoryOverwriteControl
parentf9fd0c21082aa764bdb61b6485046286f782a781 (diff)
downloadedk2-dd40a1f85c846050ba9260d537f9f675b35d543c.tar.gz
edk2-dd40a1f85c846050ba9260d537f9f675b35d543c.tar.bz2
edk2-dd40a1f85c846050ba9260d537f9f675b35d543c.zip
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]
Diffstat (limited to 'SecurityPkg/Tcg/MemoryOverwriteControl')
-rw-r--r--SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c b/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c
index 97e819edf4..1bf49f2d0f 100644
--- a/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c
+++ b/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c
@@ -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
);