+2001-02-08 OKUJI Yoshinori <okuji@gnu.org>
+
+ * stage2/asm.S [STAGE1_5] (chain_stage2): Save the second sector
+ of stage2 in %ecx temporarily, and set %ebp to %ecx after
+ switching to protected mode. I forgot that %ebp is broken by
+ rot_to_real. Reported by Torvald Riegel
+ <tr16@inf.tu-dresden.de>.
+
2001-02-08 OKUJI Yoshinori <okuji@gnu.org>
* docs/grub-new.texi: Moved to ...
movb EXT_C(current_drive), %dl
/* set up to pass the second sector of stage2 */
- movl 0xc(%esp), %ebp
+ movl 0xc(%esp), %ecx
call EXT_C(prot_to_real)
.code16
+ movl %ecx, %ebp
+
#ifdef ABSOLUTE_WITHOUT_ASTERISK
DATA32 ADDR32 ljmp (offset)
#else