]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/boot/i386/pc/lnxboot.S: Re-add support for recording the
authorJosh Triplett <josh@joshtriplett.org>
Mon, 23 Sep 2013 12:31:42 +0000 (14:31 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 23 Sep 2013 12:31:42 +0000 (14:31 +0200)
boot partition.

ChangeLog
grub-core/boot/i386/pc/lnxboot.S

index fa868486213ef4ce5bd0e5e6141cfd46a439bae0..d94b30b1fef8a190529d18bf54e4545739784e7e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-09-23  Josh Triplett <josh@joshtriplett.org>
+
+       * grub-core/boot/i386/pc/lnxboot.S: Re-add support for recording the
+       boot partition.
+
 2013-09-23  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * Makefile.util.def (libgrubmods.a): Remove CFLAGS_POSIX as this lib
index e4bc8b4250802b9173d165a6f84b97022ae05ae0..87e56a2fd58dcc03fefc33173f0798e2f44360ad 100644 (file)
@@ -207,6 +207,10 @@ real_code_2:
 2:
        call    LOCAL(move_memory)
 
+       movb    %dh, %ss:(DATA_ADDR + GRUB_DECOMPRESSOR_I386_PC_BOOT_DEVICE + 2)
+       movb    (reg_edx + 2 - start), %dh
+       movb    %dh, %ss:(DATA_ADDR + GRUB_DECOMPRESSOR_I386_PC_BOOT_DEVICE + 1)
+
        movb    $0xFF, %dh
 
        ljmp    $(DATA_ADDR >> 4), $0