zephyr/arch/riscv/core
Daniel Flodin 746c59c82a arch: kernel: lib: toolchain: Standardize TLS keyword
Up until now, the `__thread` keyword has been used for declaring
variables as Thread local storage. However, `__thread` is a GNU
specific keyword which thus limits compatibility with other
toolchains (for instance IAR).

This PR intoduces a new macro `Z_THREAD_LOCAL` which expands to the
corresponding C11, C23 or C++11 standard keyword based on the standard
that is specified during compilation, else it uses the old `__thread`
keyword.

Signed-off-by: Daniel Flodin <daniel.flodin@iar.com>
2024-09-23 10:01:48 +02:00
..
offsets arch: riscv: optionally stores a pointer to csf in struct arch_esf 2024-09-10 11:43:40 +02:00
asm_macros.inc
CMakeLists.txt arch: reorg the dependencies around (exception) stack trace 2024-08-26 14:44:53 -04:00
coredump.c riscv: support dumping privilege stack during coredump 2024-09-21 11:29:39 +02:00
cpu_idle.c arch: use same syntax for custom arch calls 2024-08-12 12:43:36 +02:00
fatal.c arch: riscv: use string array instead of switch statement for cause 2024-09-09 15:23:43 +03:00
fpu.c arch: define struct arch_esf and deprecate z_arch_esf_t 2024-06-04 14:02:51 -05:00
fpu.S build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
irq_manage.c arch: riscv: add an option for empty spurious interrupt handler 2024-09-02 12:35:57 -04:00
irq_offload.c arch: initialize irq_offload during boot, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
isr.S arch: riscv: optionally stores a pointer to csf in struct arch_esf 2024-09-10 11:43:40 +02:00
pmp.c arch: riscv: remove PMP stack guard for stack overflow handler 2024-07-27 15:12:25 +03:00
pmp.S
prep_c.c cache: add new interface arch_cache_init() for initializing cache 2024-09-17 20:05:22 -04:00
reboot.c
reset.S arch: riscv: fill all IRQ stacks with 0xAA 2024-09-13 09:17:34 +02:00
semihost.c
smp.c arch: call arch_smp_init() directly, do not use SYS_INIT 2024-06-12 18:23:54 -04:00
stacktrace.c arch: riscv: stacktrace: undo the fp/sp alignment check in #76045 2024-09-02 12:33:36 -04:00
switch.S
thread.c arch: kernel: lib: toolchain: Standardize TLS keyword 2024-09-23 10:01:48 +02:00
tls.c
userspace.S
vector_table.ld