grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] split realmode and loader routines out of startup.S


From: Jeroen Dekkers
Subject: Re: [PATCH] split realmode and loader routines out of startup.S
Date: Fri, 04 Jan 2008 18:15:17 +0100
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/22.1 (x86_64-pc-linux-gnu) MULE/5.0 (SAKAKI)

At Tue, 16 Oct 2007 23:09:07 +0200,
Robert Millan wrote:
> This patch splits realmode and loader routines out of startup.S.  The idea
> is that the LinuxBIOS port can be adapted to share more code with the rest
> of GRUB instead of duplicating it.
> 
> This is quite critical stuff, so even if the change seems trivial I'd suggest
> being careful, since I don't trust myself too much.  Of course, I've tested
> that it can still boot Linux and Multiboot (on qemu only).  Perhaps testing
> on real hardware would be appropiate (but I don't have this handy atm).
<SNIP>
>       * kern/i386/pc/startup.S (protstack): Moved to ...
>       * kern/i386/realmode.S (protstack): ... here.
>       * kern/i386/pc/startup.S (gdt): Moved to ...
>       * kern/i386/realmode.S (gdt): ... here.
>       * kern/i386/pc/startup.S (prot_to_real): Moved to ...
>       * kern/i386/realmode.S (prot_to_real): ... here.
> 
>       * kern/i386/pc/startup.S: Include `kern/i386/loader.S' and
>       `kern/i386/realmode.S'.

Why did you move prot_to_real to realmode.S, but not real_to_prot?
That seems a bit strange to me...


Jeroen Dekkers




reply via email to

[Prev in Thread] Current Thread [Next in Thread]