grub-devel
[Top][All Lists]
Advanced

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

Re: normal mode chainloader


From: Marco Gerards
Subject: Re: normal mode chainloader
Date: Thu, 24 Jun 2004 17:26:05 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

address@hidden (Tomas Ebenlendr) writes:

>> I have still some questions about the patch.  How do both loaders
>> (that is both in normal mode and rescue mode) find the generic
>> chainloader?  If I understand it correctly, the chain.mod depends on
>> _chain.mod, but how does this work?
>
>
> The chain.mod (normal mode chainloader) contains only the code for
> parsing arguments (static chainloader_command()).
> This function calls symbol (grub_chainloader_cmd() that is in _chain.mod
> (rescue mode chainloader), which does all the work.
> In _chain.mod the function that impements rescue command chainloader
> (grub_rescue_cmd_chainloader()) was splitted to function that does
> argument paring, and the already mentioned function
> (grub_chainloader_cmd()) that does the work.

But how is _chain loaded?  If it is not in core you can not call those
functions, right?

What do you think about what I proposed (with #ifdef)?  I don't think
such hard dependency would be right, if that would be the case.

Thanks,
Marco





reply via email to

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