Subject: Re: console, XFree and such
To: matthew green <mrg@eterna.com.au>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 01/01/2005 05:21:35
Hello,

> i wonder if the driver can move to dev/ofw and become used by both
> macppc & sparc64?
In theory that shouldn't be too difficult, although there are a few 
weirdnesses - just one example: macppc and sparc64 disagree about the 
OF_interpret function - one uses OF_interpret(const char *, int, int, 
...), the other uses OF_interpret(const char *, int, ... ), then there 
are the obvious problems with 64bit vs 32bit ( although these are just 
a matter of choosing the correct data type ). macppc does some voodoo 
to make the framebuffer cacheable, I don't think it would work the same 
way on sparc64.
The other OF calls are exactly the same.
With a little fiddling it could probably talk to SBus framebuffers too, 
the only reason it attaches to pci is that it does so on macppc.

have fun
Michael