seL4/libsel4
Julia Vassiliki b5cc70d753 libsel4: make thread-local ipc buffer optional
At the moment, the seL4 microkit does not setup TLS variable
support. The workaround has been to `#define __thread` (blank)
before including `<sel4/sel4.h>` in `<microkit.h>`, which causes
issues if `<microkit.h>` is included *after* `<sel4/sel4.h>`,
often with obscure linker errors to `__emutls_**` symbols.

Instead we add a libsel4 config option that allows us to build
it with __thread copied out. We introduce an LIBSEL4_THREAD_LOCAL
macro in a similar way to the existing LIBSEL4_INLINE macro.

Signed-off-by: Julia Vassiliki <julia.vassiliki@unsw.edu.au>
2026-02-25 11:46:23 +00:00
..
arch_include libsel4: fix attribute type for x86 EPT invocation 2026-01-09 16:52:09 +11:00
include libsel4: make thread-local ipc buffer optional 2026-02-25 11:46:23 +00:00
mode_include replacing all ifndef with pargma once 2020-03-23 11:04:46 +11:00
sel4_arch_include Fix TCB size for SMP + benchmark config 2025-11-24 17:03:56 +10:00
sel4_plat_include Fix style 2025-12-10 09:05:02 +11:00
src libsel4: make thread-local ipc buffer optional 2026-02-25 11:46:23 +00:00
tools libsel4: fix attribute type for x86 EPT invocation 2026-01-09 16:52:09 +11:00
CMakeLists.txt libsel4: make thread-local ipc buffer optional 2026-02-25 11:46:23 +00:00