tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



On Sep 12, 2012, at 7:04 AM, Martin Husemann wrote:

> On Wed, Sep 12, 2012 at 01:00:52PM +0000, Christos Zoulas wrote:
>> This is orthogonal. I believe that in the discussion we had in core
>> we decided to not define _UC_TLSBASE unconditionally, and that ports
>> should define it as needed.
> 
> What does "as needed" mean here? Can you show an example of an arch not
> needing it?

arm and mips for instance.  They both have instructions that fetch the TCB 
pointer thus it's not kept in a specific register and not in the mcontext 
structure.  So they don't need _UC_TLSBASE since it will never be present in 
the ucontext_t.


Home | Main Index | Thread Index | Old Index