1. Updated function headers in all assembly files.
2. Split x86LowLevel.c into a bunch of C files to make images linked with BaseLib smaller. 3. Fixed a few minor bugs. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1066 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -19,25 +19,26 @@
|
||||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.global _SetJump, _InternalAssertJumpBuffer
|
||||
_SetJump:
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
# EFIAPI
|
||||
# SetJump (
|
||||
# OUT BASE_LIBRARY_JUMP_BUFFER *JumpBuffer
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
_SetJump:
|
||||
pushl 0x4(%esp)
|
||||
call _InternalAssertJumpBuffer
|
||||
popl %ecx
|
||||
popl %ecx
|
||||
movl (%esp),%edx
|
||||
movl %ebx,(%edx)
|
||||
movl %esi,4(%edx)
|
||||
movl %edi,8(%edx)
|
||||
movl %ebp,12(%edx)
|
||||
movl %esp,16(%edx)
|
||||
movl %ecx,20(%edx)
|
||||
xorl %eax,%eax
|
||||
pop %ecx
|
||||
pop %ecx
|
||||
movl (%esp), %edx
|
||||
movl %ebx, (%edx)
|
||||
movl %esi, 4(%edx)
|
||||
movl %edi, 8(%edx)
|
||||
movl %ebp, 12(%edx)
|
||||
movl %esp, 16(%edx)
|
||||
movl %ecx, 20(%edx)
|
||||
xorl %eax, %eax
|
||||
jmp *%ecx
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user