summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-13 04:58:40 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-13 04:58:40 +0000
commit64ad76699ce473e8847a8cc7b84815197d047b9a (patch)
treea6260a7ce7838019d55efb20d4ad5262d7e0427f /MdePkg
parentc7cbcc52d69e0d8f015ff5b95ebf39b7355e0719 (diff)
downloadedk2-64ad76699ce473e8847a8cc7b84815197d047b9a.tar.gz
edk2-64ad76699ce473e8847a8cc7b84815197d047b9a.tar.bz2
edk2-64ad76699ce473e8847a8cc7b84815197d047b9a.zip
1. Add Assert in SetJump.S
2. Rename internal function of ModU64x32.S to avoid collision. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@948 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-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)