[Top][All Lists]

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

Re: [PATCH] Running GRUB under qemu on PowerPC

From: Robert Millan
Subject: Re: [PATCH] Running GRUB under qemu on PowerPC
Date: Fri, 18 Jan 2008 16:05:53 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Fri, Jan 18, 2008 at 12:07:31AM -0500, Pavel Roskin wrote:
> On Wed, 2008-01-16 at 23:51 +0100, Robert Millan wrote:
> > On Wed, Jan 16, 2008 at 04:52:46PM -0500, Pavel Roskin wrote:
> > > 
> > > It seems to me that Linux uses "#size-cells" and "#address-cells" (see
> > > drivers/of/base.c and arch/powerpc/kernel/prom_parse.c)
> > 
> > We use "#size-cells" and "#address-cells" too, but they aren't useful by
> > themselves.  They describe the layout of /memory/available.
> > 
> > See kern/powerpc/ieee1275/openfw.c:grub_available_iterate()
> As I understand, Linux uses "ranges", although it's hard to be sure.
> There are many references to "ranges" in Linux sources under
> arch/powerpc, although many of them are pertinent to buses rather than
> to the system memory.  Open Hack'Ware provides "ranges" for the memory.

/memory/available is organized in ranges (address, whose length is described
by #address-cells, and size, whose length is described by #size-cells).  Is
that what you mean?

> As for yaboot, it uses "claim" both for its needs and for loading the
> kernel.  And that's probably what GRUB could do.

It is:

loader/powerpc/ieee1275/linux.c:      found_addr = grub_claimmap (linux_addr, 
loader/powerpc/ieee1275/multiboot2.c:  rc = grub_claimmap (phdr->p_paddr, 

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]