zephyr/arch
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
..
arc arch: initialize irq_offload during boot, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
arm arch: initialize irq_offload during boot, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
arm64 arch: arm64: init xen in arch_kernel_init() 2024-09-17 20:05:22 -04:00
common arch: common: Add user can specify the nocache location 2024-09-17 09:45:35 +02:00
mips arch: initialize irq_offload during boot, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
nios2 arch: initialize irq_offload during boot, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
posix arch: initialize irq_offload during boot, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
riscv arch: kernel: lib: toolchain: Standardize TLS keyword 2024-09-23 10:01:48 +02:00
sparc arch: initialize irq_offload during boot, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
x86 x86: coredump: support dumping privilege stack 2024-09-21 11:29:39 +02:00
xtensa arch: kernel: lib: toolchain: Standardize TLS keyword 2024-09-23 10:01:48 +02:00
CMakeLists.txt
Kconfig riscv: support dumping privilege stack during coredump 2024-09-21 11:29:39 +02:00
Kconfig.v1
Kconfig.v2
archs.yml