Messages in this thread | | | Date | Sun, 20 Apr 2008 08:07:55 -0400 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH 1/2] OLPC: Add support for calling into Open Firmware |
| |
Yinghai Lu wrote: > On Sat, Apr 19, 2008 at 10:39 AM, Andres Salomon <dilinger@queued.net> 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
| |