2002-12-28 Yoshinori K. Okuji <okuji@enbug.org>
* kern/i386/pc/startup.S (push_get_mmap_entry): Revert to a bunch of pushl's from pusha, because this destroys the return value.
This commit is contained in:
parent
62ddcc8f79
commit
08b70fe8eb
2 changed files with 14 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-12-28 Yoshinori K. Okuji <okuji@enbug.org>
|
||||
|
||||
* kern/i386/pc/startup.S (push_get_mmap_entry): Revert to a
|
||||
bunch of pushl's from pusha, because this destroys the return
|
||||
value.
|
||||
|
||||
2002-12-28 Yoshinori K. Okuji <okuji@enbug.org>
|
||||
|
||||
Use -mrtd and -mregparm=3 to reduce the generated code sizes.
|
||||
|
|
|
@ -797,7 +797,10 @@ xnoteisa:
|
|||
*/
|
||||
|
||||
FUNCTION(pupa_get_mmap_entry)
|
||||
pusha
|
||||
pushl %ebp
|
||||
pushl %ebx
|
||||
pushl %edi
|
||||
pushl %esi
|
||||
|
||||
/* push ADDR */
|
||||
pushl %eax
|
||||
|
@ -852,7 +855,10 @@ xsmap:
|
|||
/* set return value to continuation */
|
||||
movl %ebx, %eax
|
||||
|
||||
popa
|
||||
popl %esi
|
||||
popl %edi
|
||||
popl %ebx
|
||||
popl %ebp
|
||||
ret
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue