[2451] 2009-07-28 Vladimir Serbinenko <[email protected]>

Vladimir Serbinenko <[email protected]> Tue, 28 Jul 2009 21:32:20 +0000
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2451
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2451
Author:   phcoder
Date:     2009-07-28 21:32:20 +0000 (Tue, 28 Jul 2009)
Log Message:
-----------
2009-07-28  Vladimir Serbinenko  <[email protected]>

	* loader/i386/multiboot_helper.S (grub_multiboot_backward_relocator):
	Clear direction flag before jumping to OS.
	(grub_multiboot2_real_boot): Likewise.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/loader/i386/multiboot_helper.S

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-07-28 18:32:28 UTC (rev 2450)
+++ trunk/grub2/ChangeLog	2009-07-28 21:32:20 UTC (rev 2451)
@@ -1,3 +1,9 @@
+2009-07-28  Vladimir Serbinenko  <[email protected]>
+
+	* 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  <[email protected]>
 
 	* util/i386/pc/grub-install: Fix parsing of --disk-module

Modified: trunk/grub2/loader/i386/multiboot_helper.S
===================================================================
--- trunk/grub2/loader/i386/multiboot_helper.S	2009-07-28 18:32:28 UTC (rev 2450)
+++ trunk/grub2/loader/i386/multiboot_helper.S	2009-07-28 21:32:20 UTC (rev 2451)
@@ -71,6 +71,7 @@
 	rep
 	movsb
 
+	cld
 	jmp	*%edx
 VARIABLE(grub_multiboot_backward_relocator_end)
 
@@ -112,4 +113,6 @@
         /* Move the magic value into eax and jump to the kernel.  */
         movl    $MULTIBOOT2_BOOTLOADER_MAGIC,%eax
         popl    %ecx
+
+        cld
         jmp     *%ecx