|
From: Alexei S. <ale...@gm...> - 2011-12-26 22:42:44
|
Committed. Thanks!
On Sun, Dec 25, 2011 at 1:34 PM, Douglas Mencken <dou...@gm...> wrote:
> 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
>
> ------------------------------------------------------------------------------
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create
> new or port existing apps to sell to consumers worldwide. Explore the
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev
> _______________________________________________
> basilisk-devel mailing list
> bas...@li...
> https://lists.sourceforge.net/lists/listinfo/basilisk-devel
>
|