* grub-core/kern/i386/pc/startup.S (grub_exit): Add missing zeroing-out.

* grub-core/lib/i386/reboot_trampoline.S (grub_reboot_start):
	Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-10-23 23:04:57 +02:00
parent d1e293bbfa
commit 3ce69fc90f
3 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/i386/pc/startup.S (grub_exit): Add missing zeroing-out.
* grub-core/lib/i386/reboot_trampoline.S (grub_reboot_start):
Likewise.
2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/io/lzopio.c (test_header): Fix incorrect memcmp instead of

View file

@ -458,6 +458,7 @@ FUNCTION(grub_exit)
/* Tell the BIOS a boot failure. If this does not work, reboot. */
int $0x18
/* set 0x472 to 0x0000 for cold boot (0x1234 for warm boot) */
xorw %ax, %ax
movw $0x0472, %di
movw %ax, (%di)
ljmp $0xf000, $0xfff0

View file

@ -26,6 +26,7 @@ VARIABLE(grub_reboot_start)
/* set 0x472 to 0x0000 for cold boot (0x1234 for warm boot) */
movw $0x0472, %di
xorw %ax, %ax
movw %ax, (%di)
ljmp $0xf000, $0xfff0