[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #27100] [REGRESSION] multiboot can't load freeldr.sys
From: |
Robert Millan |
Subject: |
Re: [bug #27100] [REGRESSION] multiboot can't load freeldr.sys |
Date: |
Tue, 28 Jul 2009 20:13:40 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
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 <address@hidden>
> +
> + * 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 <address@hidden>
>
> * 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."