X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FLongJump.S;h=11f8bd0f99fd38a65fd0719c2a31334465641cfc;hb=57246fe073e7946e03387576fca76eba86b51694;hp=a280fe024188aae8ba5bd4cc9425a88a634e718a;hpb=85ea851e6a3df3f5021e9e038d6b4162c66b394c;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseLib/Ia32/LongJump.S b/MdePkg/Library/BaseLib/Ia32/LongJump.S index a280fe0241..11f8bd0f99 100644 --- a/MdePkg/Library/BaseLib/Ia32/LongJump.S +++ b/MdePkg/Library/BaseLib/Ia32/LongJump.S @@ -30,12 +30,12 @@ # ); #------------------------------------------------------------------------------ ASM_PFX(InternalLongJump): - pop %eax - pop %edx - pop %eax + pop %eax # skip return address + pop %edx # edx <- JumpBuffer + pop %eax # eax <- Value movl (%edx), %ebx movl 4(%edx), %esi movl 8(%edx), %edi movl 12(%edx), %ebp movl 16(%edx), %esp - jmp *20(%edx) + jmp *20(%edx) # restore "eip"