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
This commit is contained in:
qhuang8 2006-07-13 04:58:40 +00:00
parent c7cbcc52d6
commit 64ad76699c
2 changed files with 7 additions and 4 deletions

View File

@ -11,7 +11,7 @@
# #
# Module Name: # Module Name:
# #
# DivU64x32.asm # DivU64x32.S
# #
# Abstract: # Abstract:
# #
@ -23,8 +23,8 @@
.global _ModU64x32 .global _InternalMathModU64x32
_ModU64x32: _InternalMathModU64x32:
movl 8(%esp),%eax movl 8(%esp),%eax
movl 12(%esp),%ecx movl 12(%esp),%ecx
xorl %edx,%edx xorl %edx,%edx

View File

@ -23,8 +23,11 @@
.global _SetJump .global _SetJump, _InternalAssertJumpBuffer
_SetJump: _SetJump:
pushl 0x4(%esp)
call _InternalAssertJumpBuffer
popl %ecx
popl %ecx popl %ecx
movl (%esp),%edx movl (%esp),%edx
movl %ebx,(%edx) movl %ebx,(%edx)