|
From: Douglas M. <dou...@gm...> - 2011-12-25 18:34:38
|
Currently, only PPC970 and PPC970FX CPUs are recognized, but not
PPC970MP. 970MP users are left without AltiVec by unknown reason :)
But here comes my patch:
cd SheepShaver/src/Unix
# add recognition for 970MP processors
sed -i 's/{ 0xffff0000, 0x003c0000, "PPC970FX" }/{ 0xffff0000,
0x003c0000, "PPC970FX" },\
{ 0xffff0000, 0x00440000, "PPC970MP" }/' ./main_unix.cpp
sed -i 's;.*case 0x003c:.*; case 0x003c:
// 970FX\
case 0x0044: // 970MP;' ./main_unix.cpp
The diff is attached to this letter.
I took these values from this kernel patch from year 2005:
http://lists.ozlabs.org/pipermail/linuxppc64-dev/2005-July/004688.html
|