]> git.proxmox.com Git - grub2.git/commitdiff
2009-07-28 Vladimir Serbinenko <phcoder@gmail.com>
authorphcoder <phcoder@localhost>
Tue, 28 Jul 2009 21:32:20 +0000 (21:32 +0000)
committerphcoder <phcoder@localhost>
Tue, 28 Jul 2009 21:32:20 +0000 (21:32 +0000)
* loader/i386/multiboot_helper.S (grub_multiboot_backward_relocator):
Clear direction flag before jumping to OS.
(grub_multiboot2_real_boot): Likewise.

ChangeLog
loader/i386/multiboot_helper.S

index e4ec9862a4e084770bcfb5dd9f9ef784cc167b81..23c288e98b04ce3fe8c94908aeae342d01f21138 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * util/i386/pc/grub-install: Fix parsing of --disk-module
index d7539f193bda0bfae8b92f84b0757f27c3469702..d1094588bcdea9b3e9a56e6550c16049bdf5e874 100644 (file)
@@ -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