From: qhuang8 Date: Thu, 13 Jul 2006 04:58:40 +0000 (+0000) Subject: 1. Add Assert in SetJump.S X-Git-Tag: edk2-stable201903~24912 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=64ad76699ce473e8847a8cc7b84815197d047b9a;ds=inline 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 --- 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)