Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JHczI-00030A-6T for mharc-grub-devel@gnu.org; Wed, 23 Jan 2008 05:37:44 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JHczE-0002vq-Ts for grub-devel@gnu.org; Wed, 23 Jan 2008 05:37:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JHczA-0002qO-S4 for grub-devel@gnu.org; Wed, 23 Jan 2008 05:37:40 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHczA-0002q9-JY for grub-devel@gnu.org; Wed, 23 Jan 2008 05:37:36 -0500 Received: from smtp-vbr3.xs4all.nl ([194.109.24.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JHczA-0002OI-2K for grub-devel@gnu.org; Wed, 23 Jan 2008 05:37:36 -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 m0NAbVJh091601 for ; Wed, 23 Jan 2008 11:37:32 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <20080121013836.GA8887@thorin> <87lk6gsydj.fsf@xs4all.nl> <20080123095758.GB1159@thorin> <87hch4svd0.fsf@xs4all.nl> <20080123102517.GA4127@thorin> Mail-Copies-To: mgerards@xs4all.nl Date: Wed, 23 Jan 2008 11:38:48 +0100 In-Reply-To: <20080123102517.GA4127@thorin> (Robert Millan's message of "Wed, 23 Jan 2008 11:25:17 +0100") Message-ID: <878x2gsu6f.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 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 10:37:41 -0000 Robert Millan writes: > On Wed, Jan 23, 2008 at 11:13:15AM +0100, Marco Gerards wrote: >> Robert Millan writes: >> >> >> Can't you use a tag for the pointer? >> > >> > We can, but that's not useful. If we can't make them compatible, I find it >> > more feasible to write a separate loader for OFW images. >> >> Why not? > > Because right now you can turn an existing ELF program into Multiboot-compliance > with only adding three lines: > > .long 0xe85250d6 > .long 0 > .long -0xe85250d6 > > this will allow you to boot it with GRUB. OTOH, if you have to add support > for tag processing, and change the way it initialises its callback pointer, > that makes it less worthwile. True. >> > 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? -- Marco