Subject: Re: 68k to ppc port info query
To: Bill Studenmund <wrstuden@nas.nasa.gov>
From: David A. Gatwood <dgatwood@deepspace.mklinux.org>
List: port-mac68k
Date: 01/11/2000 18:36:22
On Tue, 11 Jan 2000, Bill Studenmund wrote:

> The problem with "emulating" the OF ROMs is that NetBSD eventually takes
> over all the RAM, and so it'd be tricky to keep this pseudo OF around.

Not really.  I'd imagine you already make a copy of OF for internal use
based on the tree, which is located at a static location.  The only issue
would be passing in a pointer to the location of the custom tree instead
of using the "real" one that isn't there.  Just put the temporary data
right after the kernel along with whatever boot parameters you pass in.


> > On reflection the MacOS psuedo-OpenFirmware booter looks the most elegant
> > solution, but adding support the 'hard' way to mklinux looks like the
> > quickest solution. 
> 
> Well, we like to keep talking to OF once we've booted, more so than Linux
> does I think. That might be a problem.

Define "talking to".  Do you mean reading from the tree or actually doing
OF calls like for OF-based drivers?


David