Port-macppc archive

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

Re: PowerPC 970 (G5) 64-bit support



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

Hello,

On Apr 11, 2011, at 6:26 PM, Erik Fair wrote:

Are the required changes sufficient to warrant a new port, e.g. macppc64?

All the cpu-specific stuff lives in arch/powerpc and what's in macppc is what's actually Apple-specific. Some bits of the powermac architecture actually made it into the G5, like for example the audio DMA machinery.

I have no particular desire to dive into MMU code; my skills & understanding of that realm are more than a little rusty.

There's already a 64bit pmap.c. What's missing is code to properly get the CPU into 64bit mode in order to set up the initial vm stuff ( even with bridge mode we need to be in 64bit mode to do pretty much anything MMU-related ) - everything else should be fairly minor, except maybe support for the host bridge's iommu. In bridge mode we could just ignore that since we wouldn't use any RAM above 4GB anyway. And even with 64bit we could initially just make sure any DMA memory is allocated from the lowest 2GB. That said, I'm fairly sure I could get the rest of the machine going ( I have a dual 2GHz PCIe G5 ) once someone helps getting it past the initial MMU setup, that's where I got stuck the last few times I tried.

have fun
Michael

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

iQEVAwUBTaOHU8pnzkX8Yg2nAQImIQf+I5h2rA1T7+ikn0eAsBs1oPfkgypa7UGX
Dzf+3DWd124xlvL/N2aGM8R6EptGFBfeK5Xn1iG2R0Rap5GFuc9RF/RspzCtsELO
mRj/kvjaWv/4/ygN7x+sJ2x/kSyL8nZgK2Qtw5WeNxResAblpNH+uytq6VAZ/p+n
GRpX310V06mjtWQT2CXwyIJPfivRoKwzP61pQ59Pyp5rut4Exjn7zG4qluj27VWo
qhPuCz1DFBgih8l4YVmt9UebHduH1Qfns3inDxT1Jnjzm6Dzy22R1Y9Q6AGDHoU3
W+0CieAv/dubwMYCaThGcThwk3/x+9iN8HuUyhkXbKP6S6P7PBsXkQ==
=Gtsu
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index