mirror of
https://github.com/apache/nuttx.git
synced 2026-08-03 05:09:00 +00:00
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> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Make.defs | ||
| task_getinfo.c | ||
| tls_alloc.c | ||
| tls_destruct.c | ||
| tls_free.c | ||
| tls_getinfo.c | ||
| tls_getvalue.c | ||
| tls_setvalue.c | ||