[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Running GRUB under qemu on PowerPC
From: |
Pavel Roskin |
Subject: |
Re: [PATCH] Running GRUB under qemu on PowerPC |
Date: |
Fri, 18 Jan 2008 00:07:31 -0500 |
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.
As for yaboot, it uses "claim" both for its needs and for loading the
kernel. And that's probably what GRUB could do.
--
Regards,
Pavel Roskin
Re: [PATCH] Running GRUB under qemu on PowerPC, Marco Gerards, 2008/01/23