mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-28 18:19:23 +00:00
Save forgotten registers
This commit is contained in:
1 parent
cc306106b9
commit
ed32b24af6
1 file changed
+6
@@ -2072,6 +2072,9 @@ FUNCTION(grub_bios_interrupt)
|
|||||||
pushl %ebp
|
pushl %ebp
|
||||||
pushl %ecx
|
pushl %ecx
|
||||||
pushl %eax
|
pushl %eax
|
||||||
|
pushl %ebx
|
||||||
|
pushl %esi
|
||||||
|
pushl %edi
|
||||||
pushl %edx
|
pushl %edx
|
||||||
|
|
||||||
movb %al, intno
|
movb %al, intno
|
||||||
@@ -2157,6 +2160,9 @@ intno:
|
|||||||
movw LOCAL(bios_register_flags), %ax
|
movw LOCAL(bios_register_flags), %ax
|
||||||
movw %ax, 8(%edx)
|
movw %ax, 8(%edx)
|
||||||
|
|
||||||
|
popl %edi
|
||||||
|
popl %esi
|
||||||
|
popl %ebx
|
||||||
popl %eax
|
popl %eax
|
||||||
popl %ecx
|
popl %ecx
|
||||||
popl %ebp
|
popl %ebp
|
||||||
|
|||||||
Reference in new issue
Block a user