commit | c50842df47970eab459f13490c152aac85fc02f2 | [log] [tgz] |
---|---|---|
author | Chris Zankel <chris@zankel.net> | Sat Feb 23 19:35:57 2013 -0800 |
committer | Chris Zankel <chris@zankel.net> | Sat Feb 23 19:35:57 2013 -0800 |
tree | d2933b4d9641067002ba6d662b0abf6ee3011375 | |
parent | b0c438e642699f8c47b84de957f30cf586cdbebd [diff] |
xtensa: add support for TLS The Xtensa architecture provides a global register called THREADPTR for the purpose of Thread Local Storage (TLS) support. This allows us to use a fairly simple implementation, keeping the thread pointer in the regset and simply saving and restoring it upon entering/exiting the from user space. Signed-off-by: Chris Zankel <chris@zankel.net>