Re: [PATCH 1/2] OLPC: Add support for calling into Open Firmware

From: Andres Salomon
Date: Sun Apr 20 2008 - 13:57:44 EST


On Sun, 20 Apr 2008 08:07:55 -0400
"H. Peter Anvin" <hpa@xxxxxxxxx> wrote:

> Yinghai Lu wrote:
> > On Sat, Apr 19, 2008 at 10:39 AM, Andres Salomon <dilinger@xxxxxxxxxx> wrote:
> >> This adds 32-bit support for calling into OFW from the kernel. It's useful
> >> for querying the firmware for misc hardware information, fetching the device
> >> tree, etc.
> >>
> >> There's potentially no reason why other platforms couldn't use this, but
> >> currently OLPC is the main user of it.
> >>
> >> This work was originally done by Mitch Bradley.
> >>
>
> Hm. This interface seems more than a bit ad hoc. In particular, I
> *really* don't like the swapper_pg_dir hack.
>
> "There must be a better way."
>
> -hpa

I'm certainly open to suggestions.. Otherwise, I'll poke around and
see if I can come up w/ something.



--
Need a kernel or Debian developer? Contact me, I'm looking for contracts.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/