Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Gdt1o-0005AU-3V for mharc-grub-devel@gnu.org; Sat, 28 Oct 2006 14:35:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gdt1l-000573-Tz for grub-devel@gnu.org; Sat, 28 Oct 2006 14:35:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gdt1k-00053D-L4 for grub-devel@gnu.org; Sat, 28 Oct 2006 14:35:29 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gdt1k-00052d-4U for grub-devel@gnu.org; Sat, 28 Oct 2006 14:35:28 -0400 Received: from [207.69.195.62] (helo=pop-altamira.atl.sa.earthlink.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gdt1k-0000hQ-6R for grub-devel@gnu.org; Sat, 28 Oct 2006 14:35:28 -0400 Received: from user-0vvdf2d.cable.mindspring.com ([63.246.188.77] helo=diesel.unsanctioned.org) by pop-altamira.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) id 1Gdt1j-0002Nl-00 for grub-devel@gnu.org; Sat, 28 Oct 2006 14:35:27 -0400 From: Hollis Blanchard To: The development of GRUB 2 In-Reply-To: <200610281616.09907.okuji@enbug.org> References: <1161976767.15223.4.camel@basalt.austin.ibm.com> <200610281616.09907.okuji@enbug.org> Content-Type: text/plain Date: Sat, 28 Oct 2006 13:35:26 -0500 Message-Id: <1162060526.7640.11.camel@diesel> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 (2.6.3-1.fc5.5) Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] generic ELF loading (updated) 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: Sat, 28 Oct 2006 18:35:30 -0000 On Sat, 2006-10-28 at 16:16 +0200, Yoshinori K. Okuji wrote: > On Friday 27 October 2006 21:19, Hollis Blanchard wrote: > > Comments please. Also see next mail to see how the PPC Linux loader uses > > it. > > So this still loads an image to paddr directly, right? > > I think we need these features: > > - an ability to pass an address to load an image > > - an ability to pass the size of a loading area > > - an ability to get the size of a loaded image The PowerPC loader patch I sent already does 1 and 3, and you can easily see how 2 can be done in the exact same way. Please look at that code, in particular 'calcsize' and 'offset_paddr'. -Hollis