* 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>
+
+ * 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.
*/
FUNCTION(pupa_get_mmap_entry)
- pusha
+ pushl %ebp
+ pushl %ebx
+ pushl %edi
+ pushl %esi
/* push ADDR */
pushl %eax
/* set return value to continuation */
movl %ebx, %eax
- popa
+ popl %esi
+ popl %edi
+ popl %ebx
+ popl %ebp
ret