* 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

@ -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