mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 23:02:40 +00:00
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:
1 parent
2ddd36d7a9
commit
3bb7abcfbf
2 files changed
+9
No files matched your search
@@ -71,6 +71,7 @@ VARIABLE(grub_multiboot_backward_relocator)
|
||||
rep
|
||||
movsb
|
||||
|
||||
cld
|
||||
jmp *%edx
|
||||
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. */
|
||||
movl $MULTIBOOT2_BOOTLOADER_MAGIC,%eax
|
||||
popl %ecx
|
||||
|
||||
cld
|
||||
jmp *%ecx
|
||||
Reference in new issue
Block a user