[Top][All Lists]

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

Re: loader modules jumping back to kernel

From: Bean
Subject: Re: loader modules jumping back to kernel
Date: Sun, 20 Jul 2008 11:26:23 +0800

On Sun, Jul 20, 2008 at 7:06 AM, Robert Millan <address@hidden> 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.


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.


reply via email to

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