* 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:
parent
d1e293bbfa
commit
3ce69fc90f
3 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue