Port-ofppc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: dev/ofw/ofdisk.c
On Tue, 16 Oct 2007 20:38:16 +0200
Frank Wille <frank%phoenix.owl.de@localhost> wrote:
> I tried it today and it works great on the Pegasos. And it seems that
> Jochen has good success on the RS6000 as well.
Jorge tested my code on the Pegasos back when I was writing it...
> Hm. I noticed that you also removed the 'platform'-stuff in ofppc.
As Tim already wrote: The platform code just doesn't fit. It was too
static. E.g. every platorm had its own bus_space(9) and interupt code.
But since the inception of port-ofppc we became a generic, run time
configurable PPC bus_space(9) backend. So we have to replace the one,
single big platform-switch by many different subsystem switches and make
it all run time configurable. That way port-ofppc can adapt itself to
any generic ofppc machine, parametrized by the OFW. With the platform
code you actually needed to write support code for every new platform.
With the new model the code should adapt itself to a new machine
automagically at run time. (Modulo machine speciffic quirks, that, if
needed at all, are much less work the the entire platform code.)
--
tschüß,
Jochen
Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/
Home |
Main Index |
Thread Index |
Old Index