From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JFjS4-0007AY-SN for mharc-grub-devel@gnu.org; Fri, 18 Jan 2008 00:07:36 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JFjS3-0007AT-5g for grub-devel@gnu.org; Fri, 18 Jan 2008 00:07:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JFjS1-0007AG-MN for grub-devel@gnu.org; Fri, 18 Jan 2008 00:07:34 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JFjS1-0007AD-KQ for grub-devel@gnu.org; Fri, 18 Jan 2008 00:07:33 -0500 Received: from c60.cesmail.net ([216.154.195.49]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1JFjS1-00043s-Ao for grub-devel@gnu.org; Fri, 18 Jan 2008 00:07:33 -0500 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 18 Jan 2008 00:07:32 -0500 Received: from [192.168.1.21] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by relay.cesmail.net (Postfix) with ESMTP id 1C9D8618FE1 for ; Fri, 18 Jan 2008 00:07:32 -0500 (EST) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <20080116225137.GA28482@thorin> References: <20080116031949.qvrrwl9868o4cwsc@webmail.spamcop.net> <20080116104039.GA10888@thorin> <1200507768.3307.7.camel@dv> <20080116193344.GA2181@thorin> <1200520366.6793.14.camel@dv> <20080116225137.GA28482@thorin> Content-Type: text/plain Date: Fri, 18 Jan 2008 00:07:31 -0500 Message-Id: <1200632851.9493.6.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 (2.12.2-3.fc8) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] Running GRUB under qemu on PowerPC 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: Fri, 18 Jan 2008 05:07:35 -0000 On Wed, 2008-01-16 at 23:51 +0100, Robert Millan wrote: > On Wed, Jan 16, 2008 at 04:52:46PM -0500, Pavel Roskin wrote: > > > > It seems to me that Linux uses "#size-cells" and "#address-cells" (see > > drivers/of/base.c and arch/powerpc/kernel/prom_parse.c) > > We use "#size-cells" and "#address-cells" too, but they aren't useful by > themselves. They describe the layout of /memory/available. > > See kern/powerpc/ieee1275/openfw.c:grub_available_iterate() As I understand, Linux uses "ranges", although it's hard to be sure. There are many references to "ranges" in Linux sources under arch/powerpc, although many of them are pertinent to buses rather than to the system memory. Open Hack'Ware provides "ranges" for the memory. As for yaboot, it uses "claim" both for its needs and for loading the kernel. And that's probably what GRUB could do. -- Regards, Pavel Roskin