diff options
author | Antoine Coeur <coeur@gmx.fr> | 2020-02-07 02:08:30 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-02-10 22:30:07 +0000 |
commit | ef62da4ff742a0b9f4b718ccc2a03f5497115c9f (patch) | |
tree | 73d4714d754b69638a2287a1e453e22ad028836d /UefiCpuPkg/PiSmmCpuDxeSmm/X64 | |
parent | f60f4cfeb43b8b09a19015e8ce4d86daed35b801 (diff) | |
download | edk2-ef62da4ff742a0b9f4b718ccc2a03f5497115c9f.tar.gz edk2-ef62da4ff742a0b9f4b718ccc2a03f5497115c9f.tar.bz2 edk2-ef62da4ff742a0b9f4b718ccc2a03f5497115c9f.zip |
UefiCpuPkg/PiSmm: Fix various typos
Fix various typos in comments and documentation.
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-78-philmd@redhat.com>
Diffstat (limited to 'UefiCpuPkg/PiSmmCpuDxeSmm/X64')
-rw-r--r-- | UefiCpuPkg/PiSmmCpuDxeSmm/X64/Semaphore.c | 2 | ||||
-rw-r--r-- | UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiEntry.nasm | 2 | ||||
-rw-r--r-- | UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmInit.nasm | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/Semaphore.c b/UefiCpuPkg/PiSmmCpuDxeSmm/X64/Semaphore.c index ce1bf9fb54..8c9de1fdae 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/Semaphore.c +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/X64/Semaphore.c @@ -58,7 +58,7 @@ SemaphoreHook ( );
//
- // Use temp value to fix ICC complier warning
+ // Use temp value to fix ICC compiler warning
//
TempValue = (UINTN)&mSmmRelocationOriginalAddress;
PatchInstructionX86 (
diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiEntry.nasm b/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiEntry.nasm index db06d22d51..8bfba55b5d 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiEntry.nasm +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiEntry.nasm @@ -16,7 +16,7 @@ %include "Nasm.inc"
;
-; Variables referrenced by C code
+; Variables referenced by C code
;
%define MSR_IA32_S_CET 0x6A2
diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmInit.nasm b/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmInit.nasm index 8d81582bb1..9cf3a6dcf9 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmInit.nasm +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmInit.nasm @@ -72,7 +72,7 @@ BITS 64 ASM_PFX(gPatchSmmInitStack):
and sp, 0xfff0 ; make sure RSP is 16-byte aligned
;
- ; Accoring to X64 calling convention, XMM0~5 are volatile, we need to save
+ ; According to X64 calling convention, XMM0~5 are volatile, we need to save
; them before calling C-function.
;
sub rsp, 0x60
|