Subject: Re: COMPAT_LINUX for PowerPC: register names
To: Emmanuel Dreyfus <p99dreyf@criens.u-psud.fr>
From: David Edelsohn <dje@watson.ibm.com>
List: port-powerpc
Date: 01/11/2001 12:41:15
>>>>> Emmanuel Dreyfus writes:

Emmanuel> And what are srr0 and srr1 used for?

	SRR0/SRR1 are he status save/restore registers.  The registers
receive the value of the PC and MSR at an exception and are used to
restore the PC and MSR when returning from an interrupt.

	Maybe "nip" means "next instruction pointer"?  Then nip/msr would
correspond to the SRR0/SRR1 for the state to be restored, but it sure
isn't standard PowerPC or NetBSD terminology.

David