Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Dt4gp-0001fl-FL for mharc-grub-devel@gnu.org; Thu, 14 Jul 2005 10:27:51 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dt4gm-0001eN-0k for grub-devel@gnu.org; Thu, 14 Jul 2005 10:27:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dt4gg-0001bE-UH for grub-devel@gnu.org; Thu, 14 Jul 2005 10:27:45 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dt4gg-0001Zm-Cl for grub-devel@gnu.org; Thu, 14 Jul 2005 10:27:42 -0400 Received: from [209.86.89.69] (helo=smtpauth09.mail.atl.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dt4kw-0000SV-RC for grub-devel@gnu.org; Thu, 14 Jul 2005 10:32:07 -0400 Received: from [63.246.184.80] (helo=[192.168.0.101]) by smtpauth09.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1Dt4cs-0000mg-ML for grub-devel@gnu.org; Thu, 14 Jul 2005 10:23:46 -0400 Mime-Version: 1.0 (Apple Message framework v622) In-Reply-To: <87u0ix7lv1.fsf@student.han.nl> References: <42D26452.3010706@yahoo.fr> <200507121258.40668.okuji@enbug.org> <42D3B827.4090103@yahoo.fr> <87hdf0p4jy.fsf@student.han.nl> <42D3C877.3040607@yahoo.fr> <5b8d0feefaf6717dc015cc834de2da1b@penguinppc.org> <877jfwowlo.fsf@student.han.nl> <42D41013.4040601@yahoo.fr> <87k6juadlg.fsf@student.han.nl> <7f2f3597952c64ba8bb70f54ca34379f@penguinppc.org> <87u0ix7lv1.fsf@student.han.nl> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Hollis Blanchard Date: Thu, 14 Jul 2005 09:23:49 -0500 To: The development of GRUB 2 X-Mailer: Apple Mail (2.622) X-ELNK-Trace: 77a46389d001b1f223bcf3e39c2f8b5f1aa676d7e74259b7b3291a7d08dfec797368e92296d7078384ec46b561102cd3350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 63.246.184.80 Subject: Re: common ieee1275 code 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: Thu, 14 Jul 2005 14:27:48 -0000 On Jul 14, 2005, at 4:55 AM, Marco Gerards wrote: >> I will note that one related file is still left: >> kern/powerpc/ieee1275/openfw.c. That file contains some >> PowerPC-specific code, such as grub_map, grub_reboot, and >> grub_halt. However, it also contains code that I think will be >> generally useful, such as device tree path parsing and >> grub_devalias_iterate. I will leave it to others to determine how to >> split that up. > > Why won't those functions work on the usparc? I hope Vincent can test > those commands. grub_map is necessarily processor-specific; it includes MMU permission bits. I also don't know if it's a method of the cpu node found via /chosen/mmu. "reboot" and "halt" commands are not specified by IEEE1275, so vary by implementation. For example, although "reset-all" works on both Mac and pSeries, "shut-down" doesn't work on pSeries. The odds of OpenBoot diverging here are pretty good. -Hollis