2009-07-28 Vladimir Serbinenko <phcoder@gmail.com>
* loader/i386/multiboot_helper.S (grub_multiboot_backward_relocator): Clear direction flag before jumping to OS. (grub_multiboot2_real_boot): Likewise.
This commit is contained in:
parent
2ddd36d7a9
commit
3bb7abcfbf
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2009-07-28 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* loader/i386/multiboot_helper.S (grub_multiboot_backward_relocator):
|
||||||
|
Clear direction flag before jumping to OS.
|
||||||
|
(grub_multiboot2_real_boot): Likewise.
|
||||||
|
|
||||||
2009-07-28 Felix Zielcke <fzielcke@z-51.de>
|
2009-07-28 Felix Zielcke <fzielcke@z-51.de>
|
||||||
|
|
||||||
* util/i386/pc/grub-install: Fix parsing of --disk-module
|
* util/i386/pc/grub-install: Fix parsing of --disk-module
|
||||||
|
|
|
@ -71,6 +71,7 @@ VARIABLE(grub_multiboot_backward_relocator)
|
||||||
rep
|
rep
|
||||||
movsb
|
movsb
|
||||||
|
|
||||||
|
cld
|
||||||
jmp *%edx
|
jmp *%edx
|
||||||
VARIABLE(grub_multiboot_backward_relocator_end)
|
VARIABLE(grub_multiboot_backward_relocator_end)
|
||||||
|
|
||||||
|
@ -112,4 +113,6 @@ FUNCTION(grub_multiboot2_real_boot)
|
||||||
/* Move the magic value into eax and jump to the kernel. */
|
/* Move the magic value into eax and jump to the kernel. */
|
||||||
movl $MULTIBOOT2_BOOTLOADER_MAGIC,%eax
|
movl $MULTIBOOT2_BOOTLOADER_MAGIC,%eax
|
||||||
popl %ecx
|
popl %ecx
|
||||||
|
|
||||||
|
cld
|
||||||
jmp *%ecx
|
jmp *%ecx
|
||||||
|
|
Loading…
Reference in a new issue