Skip to content
Commit c50842df authored by Chris Zankel's avatar Chris Zankel
Browse files

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: default avatarChris Zankel <chris@zankel.net>
parent b0c438e6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment