From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.33) id 1BkSkP-0005hu-Ss for mharc-grub-devel@gnu.org; Tue, 13 Jul 2004 15:15:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BkSkN-0005hg-1g for grub-devel@gnu.org; Tue, 13 Jul 2004 15:15:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BkSkL-0005gL-G1 for grub-devel@gnu.org; Tue, 13 Jul 2004 15:15:22 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BkSkL-0005gG-De for grub-devel@gnu.org; Tue, 13 Jul 2004 15:15:21 -0400 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BkShk-00077q-QE for grub-devel@gnu.org; Tue, 13 Jul 2004 15:12:40 -0400 Received: from localhost (charlie.han.nl [145.74.66.9]) by mail-cn.han.nl (Postfix) with ESMTP id 2B0FB8122 for ; Tue, 13 Jul 2004 21:02:59 +0200 (CEST) Received: from mail-cn.han.nl ([145.74.66.11]) by localhost (charlie.han.nl [145.74.66.9]) (amavisd-new, port 10024) with ESMTP id 04692-05 for ; Tue, 13 Jul 2004 21:02:56 +0200 (CEST) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id C0FBA80D4 for ; Tue, 13 Jul 2004 21:02:56 +0200 (CEST) Received: from marco.marco-g.com (a82-92-27-129.adsl.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id B40FAC047 for ; Tue, 13 Jul 2004 20:02:56 +0200 (CEST) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <87n023rgd9.fsf@marco.marco-g.com> <87k6x723my.wl@pc-jeroen.dekkers.cx> From: Marco Gerards Date: Tue, 13 Jul 2004 21:03:09 +0200 In-Reply-To: <87k6x723my.wl@pc-jeroen.dekkers.cx> (Jeroen Dekkers's message of "Tue, 13 Jul 2004 19:55:33 +0200") Message-ID: <87iscrraqa.fsf@marco.marco-g.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new@vscan-cn.han.nl Subject: Re: Linux loader for the PPC X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 19:15:24 -0000 Jeroen Dekkers 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