* grub-core/boot/i386/pc/lnxboot.S: Re-add support for recording the

boot partition.
This commit is contained in:
Josh Triplett 2013-09-23 14:31:42 +02:00 committed by Vladimir 'phcoder' Serbinenko
parent efa68bfabf
commit 68b777070a
2 changed files with 9 additions and 0 deletions

View File

@ -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

View 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