incubator-nuttx/libs/libc/tls
Oki Minabe fbf05db906 fix up_tls_info define for BUILD_KERNEL
Summary:
- In case of BUILD_KERNEL, NuttX uses USR mode sp and SVC mode sp.
- The kernel runs on SVC mode sp.
- While the kernel is running, up_getsp() cannot get the TLS address.
- The kernel requires tls_get_info() function.
- For the user land, up_getsp() can be used.
- tls_getinfo.c is always compiled and tls_get_info() function is
  filtered by macros in the tls_getinfo.c.

Impact:
BUILD_KERNEL

Testing:
test program on custom Cortex-A9 board (BUILD_KERNEL)
ostest on sabre-6quad:smp (QEMU, BUILD_FLAT)

Signed-off-by: Oki Minabe <minabe.oki@gmail.com>
2022-02-28 01:12:58 +08:00
..
Kconfig sched: Implement task local storage 2022-02-23 22:05:02 +08:00
Make.defs fix up_tls_info define for BUILD_KERNEL 2022-02-28 01:12:58 +08:00
task_getinfo.c sched: Move argv from tcb_s to task_info_s 2021-12-11 10:08:53 -06:00
tls_alloc.c libc/tls: Supports up to 64 elements 2022-02-23 22:05:02 +08:00
tls_destruct.c libc/tls: Supports up to 64 elements 2022-02-23 22:05:02 +08:00
tls_free.c
tls_getinfo.c fix up_tls_info define for BUILD_KERNEL 2022-02-28 01:12:58 +08:00
tls_getvalue.c sched: Implement task local storage 2022-02-23 22:05:02 +08:00
tls_setvalue.c sched: Implement task local storage 2022-02-23 22:05:02 +08:00