Re: HPPA toolchain

[email protected] (ITOH Yasufumi)
Newsgroups gmane.os.netbsd.ports.hp700,gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
[email protected] 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.