nuttx/arch/hc/src/common
hujun5 a3273e6a96 arch: Add stack alignment and stack size checking when CONFIG_TLS_ALIGNED=y
Add validation to ensure allocated stack size does not exceed TLS_MAXSTACK when
CONFIG_TLS_ALIGNED is enabled, and verify proper stack alignment using STACK_ALIGN_MASK
across all architectures. This improves stack safety and prevents potential TLS overflow conditions.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-01-22 22:18:11 +08:00
..
hc_allocateheap.c
hc_copystate.c
hc_createstack.c
hc_doirq.c arch: fix addrenv_switch changing this_task causing exceptions 2026-01-17 18:23:06 -03:00
hc_exit.c arch: fix addrenv_switch changing this_task causing exceptions 2026-01-17 18:23:06 -03:00
hc_getintstack.c
hc_idle.c
hc_initialize.c
hc_internal.h arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
hc_modifyreg8.c
hc_modifyreg16.c
hc_modifyreg32.c
hc_nputs.c
hc_releasestack.c
hc_stackframe.c arch: rename STACK_ALIGNMENT to STACKFRAME_ALIGN across all architectures 2026-01-22 15:37:24 +08:00
hc_switchcontext.c arch: fix addrenv_switch changing this_task causing exceptions 2026-01-17 18:23:06 -03:00
hc_usestack.c arch: Add stack alignment and stack size checking when CONFIG_TLS_ALIGNED=y 2026-01-22 22:18:11 +08:00