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
..
2022-01-29 01:04:23 +08:00
2022-02-27 22:54:13 +08:00
2022-02-20 21:58:10 +08:00
2021-11-23 20:34:56 +09:00
2021-11-23 20:34:56 +09:00
2021-11-23 20:34:56 +09:00
2021-12-07 04:01:27 -08:00
2021-08-02 08:23:35 -03:00
2021-09-25 07:54:39 -03:00
2021-03-02 03:44:06 -08:00
2021-08-03 12:14:07 -03:00
2021-11-24 22:49:09 -06:00
2021-07-31 15:35:47 -03:00
2022-02-26 14:32:42 +08:00
2021-01-06 14:23:50 +08:00
2021-05-12 21:08:23 -07:00
2021-05-11 16:40:33 +01:00
2021-11-29 11:18:36 -06:00
2022-02-03 11:02:31 -03:00
2021-07-09 15:51:28 -03:00
2020-07-21 21:48:18 -07:00