X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFsp2WrapperPkg%2FLibrary%2FBaseFspWrapperApiLib%2FX64%2FThunk64To32.nasm;fp=IntelFsp2WrapperPkg%2FLibrary%2FBaseFspWrapperApiLib%2FX64%2FThunk64To32.nasm;h=db8e62ebc5a82ce0735944c902b3fd86a6337e34;hp=45c8f21255e36c46e1729ab974d11aeb561481d4;hb=97eedf5dfbaffde33210fd88066247cf0b7d3325;hpb=7e55cf6b48dcd43de46d008b2f12caaad2554503 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