Subject: Re: HPPA toolchain
To: None <tech-toolchain@netbsd.org, port-hp700@netbsd.org>
From: ITOH Yasufumi <itohy@netbsd.org>
List: port-hp700
Date: 10/04/2003 16:16:38
wrstuden@netbsd.org writes:
> Would it be reasonable to reserve a register for thread-specific storage?=
> =20
> =46rom talking with Nathan, having a register around that only the thread=
> =20
> library touches makes life much easier. ??
The PA-RISC runtime architecture specifies CR27 as
the thread pointer register.
CR27 requires privilede for writing, but if we have special syscall
entry for the purpose, the overhead will be small enough.
References:
The 32-bit PA-RISC Run-time Architecture Document
http://devresource.hp.com/STK/partner/rad_11_0_32.pdf
64-Bit Runtime Architecture for PA-RISC 2.0
http://devresource.hp.com/STK/partner/pa64rt.pdf
--
ITOH Yasufumi