grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] enable multiboot2 loader on i386-ieee1275


From: Robert Millan
Subject: Re: [PATCH] enable multiboot2 loader on i386-ieee1275
Date: Wed, 23 Jan 2008 12:05:31 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]