mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
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:
1 parent
62ddcc8f79
commit
08b70fe8eb
2 files changed
+14
-2
No files matched your search
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user