2008-07-31 Bean <bean123ch@gmail.com>

* boot/i386/pc/lnxboot.S (real_code_2): Replace 0x50 with
	GRUB_KERNEL_MACHINE_DATA_END.
This commit is contained in:
bean 2008-07-31 14:15:53 +00:00
parent 59198b722c
commit 16e641b612
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-07-31 Bean <bean123ch@gmail.com>
* boot/i386/pc/lnxboot.S (real_code_2): Replace 0x50 with
GRUB_KERNEL_MACHINE_DATA_END.
2008-07-30 Robert Millan <rmh@aybabtu.com> 2008-07-30 Robert Millan <rmh@aybabtu.com>
* include/grub/i386/pc/kernel.h (GRUB_KERNEL_MACHINE_DATA_END): * include/grub/i386/pc/kernel.h (GRUB_KERNEL_MACHINE_DATA_END):

View file

@ -186,7 +186,7 @@ real_code_2:
call move_memory call move_memory
/* Check for multiboot signature. */ /* Check for multiboot signature. */
cmpl $MULTIBOOT_MAGIC, %ss:(DATA_ADDR + 0x50) cmpl $MULTIBOOT_MAGIC, %ss:(DATA_ADDR + GRUB_KERNEL_MACHINE_DATA_END)
jz 1f jz 1f
movl (ramdisk_image - start), %esi movl (ramdisk_image - start), %esi