commit | feae3249b2a300b7ba3a920b7edb54ae253b4130 | [log] [tgz] |
---|---|---|
author | Martin Åberg <martin.aberg@gaisler.com> | Tue Oct 27 12:31:41 2020 +0100 |
committer | Andrew Boie <andrewboie@gmail.com> | Fri Nov 13 14:53:55 2020 -0800 |
tree | 95bf0329c66c5ab5096f3b0e5b6bb52c7e23a2d8 | |
parent | 07160fa153e4e0f04334baefc126523657bedac6 [diff] |
sparc: add support for thread local storage Adds the necessary bits to initialize TLS in the stack area and sets up CPU registers during context switch. Register g7 is used to point to the thread data. Thread data is accessed with negative offsets from g7. Signed-off-by: Martin Åberg <martin.aberg@gaisler.com>