* grub-core/boot/i386/pc/lnxboot.S: Use

GRUB_DECOMPRESSOR_MAX_DECOMPRESSOR_SIZE.
	* grub-core/boot/i386/pc/startup_raw.S: Ensure about boot_dev
	location.
	* include/grub/offsets.h (GRUB_DECOMPRESSOR_I386_PC_BOOT_DEVICE): New
	definition.
	(GRUB_DECOMPRESSOR_I386_PC_MAX_DECOMPRESSOR_SIZE): Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-01-29 23:20:02 +01:00
parent 63fe43f3c3
commit f37c87e1ba
4 changed files with 16 additions and 2 deletions

View file

@ -66,7 +66,7 @@ reed_solomon_redundancy:
/*
* This is the area for all of the special variables.
*/
. = _start + GRUB_DECOMPRESSOR_I386_PC_BOOT_DEVICE
LOCAL(boot_dev):
.byte 0xFF, 0xFF, 0xFF
LOCAL(boot_drive):