Skip to content
Commit f8a909da authored by Daniel Leung's avatar Daniel Leung Committed by Andrew Boie
Browse files

xtensa: 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.

Note that this does not enable TLS for all Xtensa SoC.
This is because Xtensa SoCs are highly configurable
so that each SoC can be considered a whole architecture.
So TLS needs to be enabled on the SoC level, instead of
at the arch level.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 8a79ce14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment