From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1CvGwF-0000s9-5g for mharc-grub-devel@gnu.org; Sun, 30 Jan 2005 10:24:35 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CvGw8-0000pV-J8 for grub-devel@gnu.org; Sun, 30 Jan 2005 10:24:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CvGw5-0000o7-Hh for grub-devel@gnu.org; Sun, 30 Jan 2005 10:24:27 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CvGw5-0000nY-5x for grub-devel@gnu.org; Sun, 30 Jan 2005 10:24:25 -0500 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CvGiR-00052e-FT for grub-devel@gnu.org; Sun, 30 Jan 2005 10:10:19 -0500 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id 0CC6B8624 for ; Sun, 30 Jan 2005 16:07:16 +0100 (CET) Received: from mail-cn.han.nl ([145.74.66.11]) by vscan-cn.han.nl (venus.han.nl [145.74.65.6]) (amavisd-new, port 10024) with ESMTP id 20298-04 for ; Sun, 30 Jan 2005 16:07:15 +0100 (CET) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id DC0ADA627 for ; Sun, 30 Jan 2005 16:07:14 +0100 (CET) Received: from marco.marco-g.com (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 9C573C045 for ; Sun, 30 Jan 2005 16:07:14 +0100 (CET) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <87pszp1fjq.fsf@marco.marco-g.com> <41FAA3D8.3090108@yahoo.fr> <87hdl11ctw.fsf@marco.marco-g.com> <200501290210.07399.okuji@enbug.org> <3276E8FD-7225-11D9-B993-000A95A0560C@penguinppc.org> From: Marco Gerards Date: Sun, 30 Jan 2005 15:07:10 +0000 In-Reply-To: <3276E8FD-7225-11D9-B993-000A95A0560C@penguinppc.org> (Hollis Blanchard's message of "Sat, 29 Jan 2005 12:40:07 -0600") Message-ID: <87vf9fhs69.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 (2.2.0) at vscan-cn.han.nl Subject: Re: reboot and halt commands 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: Sun, 30 Jan 2005 15:24:29 -0000 Hollis Blanchard writes: > On Jan 28, 2005, at 7:10 PM, Yoshinori K. Okuji wrote: > >> On Friday 28 January 2005 22:08, Marco Gerards wrote: >>>> Isn't it "power-off" ? >>>> afaik, my sparc only understand power-off to cut the power. >>> >>> Is that a client interface command or a command for the command line >>> interface? On my pegasos I have the shut-down command on the command >>> line interface. The power-off command does not exist. >> >> IIRC, power-off is used on Sparc, and shut-down on PowerPC. I don't >> know >> why they are inconsistent, though. > > Unfortunately, neither are listed in IEEE1275. Right. But I don't think this should not be a reason not to add this feature. It works on both the apple and bplan firmware. Calling the functions after each other won't work on the bplan firmware, IIRC because it crashes. > Further, "interpret" is an optional client interface command, and will > not exist on systems without the Forth user interface (like PIBS, > IBM's firmware for embedded PPC). I think the flow will need to go > something like this: You are right. Personally I don't want to add something like this until GRUB works on such box. Perhaps the interpret call makes the box crash or so. So I want to keep it this way until we can get access to such box. Is that ok for you? Thanks, Marco