Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JElD0-0004Ge-RA for mharc-grub-devel@gnu.org; Tue, 15 Jan 2008 07:48:02 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JElCy-0004Bj-1B for grub-devel@gnu.org; Tue, 15 Jan 2008 07:48:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JElCw-00049Y-K3 for grub-devel@gnu.org; Tue, 15 Jan 2008 07:47:59 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JElCw-00049T-Bj for grub-devel@gnu.org; Tue, 15 Jan 2008 07:47:58 -0500 Received: from smtp-vbr3.xs4all.nl ([194.109.24.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JElCv-00055f-Ru for grub-devel@gnu.org; Tue, 15 Jan 2008 07:47:58 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr3.xs4all.nl (8.13.8/8.13.8) with ESMTP id m0FCluFY085257; Tue, 15 Jan 2008 13:47:57 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <20080112031444.GA30703@thorin> <87hchf2ulp.fsf@xs4all.nl> <20080115120643.GD31275@thorin> <87tzlf1dml.fsf@xs4all.nl> <20080115123201.GA924@thorin> Mail-Copies-To: mgerards@xs4all.nl Date: Tue, 15 Jan 2008 13:48:52 +0100 In-Reply-To: <20080115123201.GA924@thorin> (Robert Millan's message of "Tue, 15 Jan 2008 13:32:01 +0100") Message-ID: <871w8j1cgb.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Cc: devel@lists.laptop.org Subject: Re: GRUB on OLPC / XO 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, 15 Jan 2008 12:48:00 -0000 Robert Millan writes: > On Tue, Jan 15, 2008 at 01:23:30PM +0100, Marco Gerards wrote: >> > OFW expects %eax to be the first parameter in callbacks. Other than this, >> > I assumed -mregparm is a useful size optimization. Is that not it? Why >> > do we have it on i386-pc then? >> >> On i386-pc the size restrictions are more important. On OF the binary >> is loaded from the filesystem. > > We need at least -mregparm=1. Does it make sense to move from 3 to 1 ? I > think it's better to stay at 3 for consistency. Sure. What you have is fine to me. >> >> Why do you do this? Isn't this information available in native byte order? >> > >> > See my other mail about IEEE-1275 and endianess. >> >> Which subject? > > "[PATCH] fix endianess in IEEE-1275 integer properties" Found and replied. -- Marco