Subject: COMPAT_LINUX for PowerPC: register names
To: None <port-powerpc@netbsd.org>
From: Emmanuel Dreyfus <p99dreyf@criens.u-psud.fr>
List: port-powerpc
Date: 01/11/2001 13:26:51
Hi!

In order to correctly implement signal handling for Linux binaries, I
need some information about the names of the PowerPC registers. Linux
and NetBSD seems to use different names, and I have to make them fit.

Here are the registers with different names, please help  me identifying
them:
Linux names:    
ccr
link
nip
msr

NetBSD names:
cr
lr
srr0
srr1

I think that ccr might be cr and link lr, but what about nip and msr?
-- 
Emmanuel Dreyfus.  
Avec Windows 3.1 ils etaient au bord du gouffre...
Avec Windows 95 ils ont fait un grand bon en avant.
p99dreyf@criens.u-psud.fr