[Top] [All Lists]

Re: thread-ready ABIs

To: Ulrich Drepper <>
Subject: Re: thread-ready ABIs
From: "H . J . Lu" <>
Date: Fri, 18 Jan 2002 11:08:44 -0800
Cc: GNU libc hacker <>,
In-reply-to: <m3elkn4ikq.fsf@myware.mynet>; from on Fri, Jan 18, 2002 at 10:31:17AM -0800
References: <m3elkoa5dw.fsf@myware.mynet> <> <m3elkn4ikq.fsf@myware.mynet>
User-agent: Mutt/1.2.5i
On Fri, Jan 18, 2002 at 10:31:17AM -0800, Ulrich Drepper wrote:
> "H . J . Lu" <> writes:
> > I don't see there are any registers we can use without breaking ABI.
> > On the other hand, can we change the mips kernel to save k0 or k1 for
> > user space?
> Are these registers which are readable by normal users but writable
> only in ring 0?  If yes, this is definitely worthwhile (similar to how

I can write to k0/k1. But the value is not perserved by kernel.

> x86 works).  The only problem will be the MIPS variants which don't
> have this register.  I bet there are some.

I don't think so. k0/k1 is reserved for OS. I don't know if OS can
restore it for use space or not.


<Prev in Thread] Current Thread [Next in Thread>