#2468: Add Thread Local Storage (TLS) support on x86
---------------------------+------------------
Reporter: joel.sherrill | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 4.12
Component: General | Version: 4.12
Severity: normal | Keywords:
---------------------------+------------------
The x86 is one of the architectures which does not support Thread Local
Storage. Each architecture requires target architecture specific support
to provide this standard language feature.
Details on the implementation by the compiler may be found at
http://wiki.osdev.org/Thread_Local_Storage.
Based on this information, I think a segment register needs to be added to
the thread context and some hooks to the TLS implemented.
Architecture information on TLS implementation should be added to the CPU
Supplement document as this is part of the ABI and context switch.
As part of effort, the documentation for the general procedure of adding
target specific TLS support should be added to the porting guide or
reviewed.
--
Ticket URL: <http://devel.rtems.org/ticket/2468>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs