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

arm: cortex_m: 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 since Cortex-M does not have the thread ID or
process ID register needed to store TLS pointer at runtime
for toolchain to access thread data, a global variable is
used instead.

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