On Sun, Jul 20, 2008 at 7:06 AM, Robert Millan <[EMAIL PROTECTED]> wrote:
>
> Anyone recalls the reason our loaders had to jump back to kernel (startup.S) 
> to
> do the final part of the load?
>
> IIRC this causes trouble when the loadee chose an address that precisely
> overwrites the loader, which is garanteed to happen when GRUB is loading
> itself, AFAICT.

Hi,

I think there is no appear reason for this other than to keep assembly
code in a single place. IMO, a lot of stuff should be moved out of
startup.S. For example, vbe functions are only used by vbe module,
they should be placed alongside other vbe files.

-- 
Bean


_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to