Subject: Re: COMPAT_LINUX: moving forward with NPTL machdep code
To: Richard Earnshaw <Richard.Earnshaw@buzzard.freeserve.co.uk>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: tech-kern
Date: 06/26/2006 22:55:31
Richard Earnshaw <Richard.Earnshaw@buzzard.freeserve.co.uk> wrote:

> > For other architectures:
> > - For ARM, we just have to get and set process' register R3
> Eh?  Where did this 'specification' come from? 

I get this in Linux kernel sources:

        if (clone_flags & CLONE_SETTLS)
                thread->tp_value = regs->ARM_r3;

But if r3 is a scratch register, then I don't know what it means.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@netbsd.org