diff options
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/LongJump.S')
-rw-r--r-- | MdePkg/Library/BaseLib/Ia32/LongJump.S | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/LongJump.S b/MdePkg/Library/BaseLib/Ia32/LongJump.S index 5fa1521226..fa17dddff9 100644 --- a/MdePkg/Library/BaseLib/Ia32/LongJump.S +++ b/MdePkg/Library/BaseLib/Ia32/LongJump.S @@ -19,20 +19,23 @@ # #------------------------------------------------------------------------------ - .386: - .code: +.global _InternalLongJump -.globl _InternalLongJump +#------------------------------------------------------------------------------ +# VOID +# EFIAPI +# InternalLongJump ( +# IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer, +# IN UINTN Value +# ); +#------------------------------------------------------------------------------ _InternalLongJump: - popl %eax - popl %edx - popl %eax + pop %eax + pop %edx + pop %eax movl (%edx), %ebx movl 4(%edx), %esi movl 8(%edx), %edi movl 12(%edx), %ebp movl 16(%edx), %esp jmp *20(%edx) -#InternalLongJump ENDP - - |