* grub-core/boot/i386/pc/startup_raw.S: Move realmode routines to

non-RS part to avoid RS messing with GDT.
	* include/grub/offsets.h (GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART):
	Increase to suit in realmode routines.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-12-15 19:20:41 +01:00
parent b81d609e4c
commit e3fd394a10
3 changed files with 15 additions and 3 deletions

View file

@ -28,7 +28,7 @@
/* Offset of reed_solomon_redundancy. */
#define GRUB_KERNEL_I386_PC_REED_SOLOMON_REDUNDANCY 0x10
#define GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART 0x6e0
#define GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART 0x7e0
/* The segment where the kernel is loaded. */
#define GRUB_BOOT_I386_PC_KERNEL_SEG 0x800