• Chris Zankel's avatar
    xtensa: add support for TLS · c50842df
    Chris Zankel authored
    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>
    c50842df
ptrace.c 8.18 KB