summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ia32/SetJump.S
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/SetJump.S')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/SetJump.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/SetJump.S b/MdePkg/Library/BaseLib/Ia32/SetJump.S
index b1b6a84f63..05acc4ab26 100644
--- a/MdePkg/Library/BaseLib/Ia32/SetJump.S
+++ b/MdePkg/Library/BaseLib/Ia32/SetJump.S
@@ -23,8 +23,11 @@
-.global _SetJump
+.global _SetJump, _InternalAssertJumpBuffer
_SetJump:
+ pushl 0x4(%esp)
+ call _InternalAssertJumpBuffer
+ popl %ecx
popl %ecx
movl (%esp),%edx
movl %ebx,(%edx)