grub-devel
[Top][All Lists]
Advanced

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

Re: Linux loader for the PPC


From: Marco Gerards
Subject: Re: Linux loader for the PPC
Date: Tue, 13 Jul 2004 21:03:09 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Jeroen Dekkers <address@hidden> writes:

> At Tue, 13 Jul 2004 19:01:22 +0200,
> Marco Gerards wrote:
>> +static void
>> +grub_rescue_cmd_linux (int argc, char *argv[])
>> +{
>> +  grub_load_linux (argc, argv);
>> +}
>> +
>> +GRUB_MOD_INIT
>> +{
>> +  grub_rescue_register_command ("linux", grub_rescue_cmd_linux,
>> +                            "load a linux kernel");
>> +  my_mod = mod;
>> +}
>
> Why don't you just use grub_load_linux as argument to
> grub_rescue_register_command()?

Because that will make it harder to change the interface of
grub_load_linux afterwards.

--
Marco





reply via email to

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