Re: [PATCH 1/2] OLPC: Add support for calling into Open Firmware
From: H. Peter Anvin
Date: Sun Apr 20 2008 - 08:18:56 EST
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
--
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/