Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Where arch/bebox/pci/pfb.c?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On May 15, 2008, at 10:07, Izumi Tsutsui wrote:

Should I attach genfb? In that case, how should be done the console? Do
not we have a console until genfb is attached?

pmax and dreamcast initialize their fb consoles in consinit()
(i.e. before cpu_configure(9)) with some hacks.
(split out some init stuff into an independent structure from softc)

See
src/sys/arch/dreamcast/dev/pvr.c
src/sys/dev/tc/sfb.c
etc.

I'm not sure if genfb could use the same strategy though.

We do something similar on powerpc with OpenFirmware ( see powerpc/ oea/ofw_rascons.c ) Since this is ultimately machine dependent I don't think attempting to put it into genfb would be a good idea - so far genfb is completely MI and I'd like to keep it that way.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSCxflMpnzkX8Yg2nAQL7Ogf/T9TcmryI3uFZI847PeWUNjwRQs/UjR1i
0FgHXw6lYFEbVquVmTY1adPN66Akyiov5k50UIs+0H0t9wUSyjhDIJFLFP8A3/2y
bxhuWXK9p2AljRmwzFcNx9z2aOUhBZwg9IWioiI+YqYHBzkY/Pv7HnfpK0X1s5KC
8Lpzw1AY3TPyAyKQ6jFHzE1SPkChn7D90AFhp2DnG9e0yzVVe3ZUVlXvNKNt4tmi
3aO1snr3pWynJdDxQ1f1bCkgC5T0TBv5emNwyUIERVma+vbk6fMrYglsvyDBBvbo
1QKevbD2zMeaArXEf7cAoJrTCAmtnDCdNFdN5FGsUXPy5A04JfEf3Q==
=2Fgd
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index