summaryrefslogtreecommitdiff
path: root/MdePkg/Library
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ModU64x32.S6
-rw-r--r--MdePkg/Library/BaseLib/Ia32/SetJump.S5
2 files changed, 7 insertions, 4 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/ModU64x32.S b/MdePkg/Library/BaseLib/Ia32/ModU64x32.S
index ed9c2fee25..a8e9574b2d 100644
--- a/MdePkg/Library/BaseLib/Ia32/ModU64x32.S
+++ b/MdePkg/Library/BaseLib/Ia32/ModU64x32.S
@@ -11,7 +11,7 @@
#
# Module Name:
#
-# DivU64x32.asm
+# DivU64x32.S
#
# Abstract:
#
@@ -23,8 +23,8 @@
-.global _ModU64x32
-_ModU64x32:
+.global _InternalMathModU64x32
+_InternalMathModU64x32:
movl 8(%esp),%eax
movl 12(%esp),%ecx
xorl %edx,%edx
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)