Subject: Re: Booting a PowerMac 7200 (progress made since last time !!)
To: None <port-macppc@NetBSD.org>
From: Tim Kelly <hockey@dialectronics.com>
List: port-macppc
Date: 05/04/2005 13:50:08
In an attempt to save posts, I was combining two messages into one. 
However, Sylpheed did its usual user-unfriendliness and buggered the
message.

On Wed, 4 May 2005 13:47:04 -0400
Tim Kelly <hockey@dialectronics.com> wrote:

> On Sun, 1 May 2005 10:31:12 -0400
> Tim Kelly <hockey@dialectronics.com> wrote:
> 
> > I use this code to test for 601 in the bootloader I use for testing
> > 
> >        mfspr   r0,287                  /* PVR = 287 */
> >        srwi    r0,r0,0x10 
> >        cmpi    0,1,r0,0x02          /* 601 CPU = 0x0001 */
> >        blt     bat601                  /* skip over non-601 BAT
> >        setup*/
> > 
> > Seems to work on 601, but I haven't tested it against other CPUs. 
> > mfpvr is not implemented on the 601; the value has to be extracted
> > via the call to SPR 287 (PVR).

The message was to say that I've tested this on a G4 and it appears to
work.

tim