Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MVtnu-00069w-VD for mharc-grub-devel@gnu.org; Tue, 28 Jul 2009 17:01:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MVtns-00068k-OO for grub-devel@gnu.org; Tue, 28 Jul 2009 17:01:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MVtno-00066V-1f for grub-devel@gnu.org; Tue, 28 Jul 2009 17:01:44 -0400 Received: from [199.232.76.173] (port=40432 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVtnn-00066R-Rl; Tue, 28 Jul 2009 17:01:39 -0400 Received: from xvm-190-8.ghst.net ([217.70.190.8]:47908 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MVtnm-0007ij-WB; Tue, 28 Jul 2009 17:01:39 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1MVtn2-0001DX-Ut; Tue, 28 Jul 2009 21:00:53 +0000 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1MVrBE-00009R-Ig; Tue, 28 Jul 2009 20:13:40 +0200 Date: Tue, 28 Jul 2009 20:13:40 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090728181340.GJ32726@thorin> References: <20090724-191329.sv10859.52697@savannah.gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: bug-grub@gnu.org Subject: Re: [bug #27100] [REGRESSION] multiboot can't load freeldr.sys X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2009 21:01:45 -0000 On Mon, Jul 27, 2009 at 09:53:29PM +0200, Vladimir 'phcoder' Serbinenko wrote: > diff --git a/ChangeLog b/ChangeLog > index 752bde8..bb8aff3 100644 > --- a/ChangeLog > +++ b/ChangeLog > @@ -1,3 +1,9 @@ > +2009-07-27 Vladimir Serbinenko > + > + * loader/i386/multiboot_helper.S (grub_multiboot_backward_relocator): > + Clear direction flag before jumping to OS. > + (grub_multiboot2_real_boot): Likewise. > + > 2009-07-25 Felix Zielcke > > * kern/file.c (grub_file_open): Revert to previous check with > diff --git a/loader/i386/multiboot_helper.S b/loader/i386/multiboot_helper.S > index d7539f1..d109458 100644 > --- a/loader/i386/multiboot_helper.S > +++ b/loader/i386/multiboot_helper.S > @@ -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 Thanks Vladimir. Please go ahead, nice work. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."