summaryrefslogtreecommitdiffstats
path: root/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/Thunk64To32.nasm
diff options
context:
space:
mode:
Diffstat (limited to 'IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/Thunk64To32.nasm')
-rw-r--r--IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/Thunk64To32.nasm6
1 files changed, 3 insertions, 3 deletions
diff --git a/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/Thunk64To32.nasm b/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/Thunk64To32.nasm
index 45c8f21255..db8e62ebc5 100644
--- a/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/Thunk64To32.nasm
+++ b/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/Thunk64To32.nasm
@@ -43,7 +43,7 @@ ASM_PFX(AsmExecute32BitCode):
cli
;
- ; save orignal GDTR and CS
+ ; save original GDTR and CS
;
mov rax, ds
push rax
@@ -190,7 +190,7 @@ ReloadCS:
pop rdi
popfq
;
- ; Switch to orignal GDT and CS. here rsp is pointer to the orignal GDT descriptor.
+ ; Switch to original GDT and CS. here rsp is pointer to the original GDT descriptor.
;
lgdt [rsp]
;
@@ -198,7 +198,7 @@ ReloadCS:
;
add rsp, 0x10
;
- ; switch to orignal CS and GDTR
+ ; switch to original CS and GDTR
;
pop r9 ; get CS
shl r9, 32 ; rcx[32..47] <- Cs