X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=EdkCompatibilityPkg%2FFoundation%2FLibrary%2FThunk16%2FX64%2FThunk16.asm;fp=EdkCompatibilityPkg%2FFoundation%2FLibrary%2FThunk16%2FX64%2FThunk16.asm;h=6b74bbe7cb9bcdab3d4b5ac692842cb0800ac576;hb=0249feb8b5656a67330ab76db00429a2edecf6b0;hp=0638d5faa8de9a3a6067853c506387572faaad76;hpb=c577049aafd5d00f96fe6d136e442da8b7520242;p=mirror_edk2.git diff --git a/EdkCompatibilityPkg/Foundation/Library/Thunk16/X64/Thunk16.asm b/EdkCompatibilityPkg/Foundation/Library/Thunk16/X64/Thunk16.asm index 0638d5faa8..6b74bbe7cb 100644 --- a/EdkCompatibilityPkg/Foundation/Library/Thunk16/X64/Thunk16.asm +++ b/EdkCompatibilityPkg/Foundation/Library/Thunk16/X64/Thunk16.asm @@ -144,7 +144,7 @@ _Thunk16 PROC USES rbp rbx rsi rdi r12 r13 r14 r15 retf @@: xor rax, rax - mov eax, ss + mov ax, ss shl eax, 4 add eax, esp ; rax <- address of 16-bit stack mov rsp, r15