* 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

@ -108,6 +108,8 @@ LOCAL (codestart):
call EXT_C (grub_reed_solomon_recover)
jmp post_reed_solomon
#include "../../../kern/i386/realmode.S"
#include <rs_decoder.S>
.text
@ -185,8 +187,6 @@ post_reed_solomon:
movl $real_to_prot, %ecx
jmp *%esi
#include "../../../kern/i386/realmode.S"
/*
* grub_gate_a20(int on)
*