* 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
|
@ -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>
|
2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/io/lzopio.c (test_header): Fix incorrect memcmp instead of
|
* grub-core/io/lzopio.c (test_header): Fix incorrect memcmp instead of
|
||||||
|
|
|
@ -458,6 +458,7 @@ FUNCTION(grub_exit)
|
||||||
/* Tell the BIOS a boot failure. If this does not work, reboot. */
|
/* Tell the BIOS a boot failure. If this does not work, reboot. */
|
||||||
int $0x18
|
int $0x18
|
||||||
/* set 0x472 to 0x0000 for cold boot (0x1234 for warm boot) */
|
/* set 0x472 to 0x0000 for cold boot (0x1234 for warm boot) */
|
||||||
|
xorw %ax, %ax
|
||||||
movw $0x0472, %di
|
movw $0x0472, %di
|
||||||
movw %ax, (%di)
|
movw %ax, (%di)
|
||||||
ljmp $0xf000, $0xfff0
|
ljmp $0xf000, $0xfff0
|
||||||
|
|
|
@ -26,6 +26,7 @@ VARIABLE(grub_reboot_start)
|
||||||
|
|
||||||
/* set 0x472 to 0x0000 for cold boot (0x1234 for warm boot) */
|
/* set 0x472 to 0x0000 for cold boot (0x1234 for warm boot) */
|
||||||
movw $0x0472, %di
|
movw $0x0472, %di
|
||||||
|
xorw %ax, %ax
|
||||||
movw %ax, (%di)
|
movw %ax, (%di)
|
||||||
ljmp $0xf000, $0xfff0
|
ljmp $0xf000, $0xfff0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue