Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JHdRk-0000Tn-Ik for mharc-grub-devel@gnu.org; Wed, 23 Jan 2008 06:07:08 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JHdRj-0000Ry-4O for grub-devel@gnu.org; Wed, 23 Jan 2008 06:07:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JHdRi-0000Qu-CW for grub-devel@gnu.org; Wed, 23 Jan 2008 06:07:06 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHdRi-0000Qe-4W for grub-devel@gnu.org; Wed, 23 Jan 2008 06:07:06 -0500 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JHdRh-00020g-O9 for grub-devel@gnu.org; Wed, 23 Jan 2008 06:07:05 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JHdRb-00050G-IZ for grub-devel@gnu.org; Wed, 23 Jan 2008 12:06:59 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1JHdQB-0006iO-QK for grub-devel@gnu.org; Wed, 23 Jan 2008 12:05:31 +0100 Date: Wed, 23 Jan 2008 12:05:31 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080123110531.GB25594@thorin> References: <20080121013836.GA8887@thorin> <87lk6gsydj.fsf@xs4all.nl> <20080123095758.GB1159@thorin> <87hch4svd0.fsf@xs4all.nl> <20080123102517.GA4127@thorin> <878x2gsu6f.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <878x2gsu6f.fsf@xs4all.nl> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] enable multiboot2 loader on i386-ieee1275 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: Wed, 23 Jan 2008 11:07:07 -0000 On Wed, Jan 23, 2008 at 11:38:48AM +0100, Marco Gerards wrote: > >> > Though I don't see why not do it. The boot abi is already compatible on > >> > PowerPC: > >> > > >> > http://grub.enbug.org/MultibootDraft#head-198f9346038a3782a8263de281dd9cf2eb2759a8 > >> > >> Do you suggest to change the interface for x86? > > > > Yes. Multiboot2 is still a draft and not widely used (not even in comparison to > > Multiboot1). I don't think it's a big problem to change this. > > We could use ebx or so. Or will this cause new problems? Well, EBX itself is being used for the MBI, so not a good choice ;-) About using a free register (I think ECX and EDX aren't used), this might cause the inconvenience that you might need to reestructure startup code, in case it is laid out in a way that already makes use of that register. I don't think this is the case for the average OFW application that is written in C and just has a few lines of asm in _start. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.)