nuttx/arch/arm/src/common
Masayuki Ishikawa 8e7752c7da arch: common: Fix up_check_tcbstack() for CONFIG_ARCH_ADDRENV=y
Summary:
- I noticed that ps shows incorrect stack usage when running
  getprime in the background.
- With CONFIG_ARCH_ADDRENV=y, a user task including pthread
  allocates its stack in the user space that needs to be
  accessed with a correct address environment.
- This commit fixes this issue.

Impact:
- CONFIG_ARCH_ADDRENV=y only

Testing:
- Tested with sabre-6quad:knsh on qemu-6.2

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-08-04 11:13:16 +08:00
..
gnu arch/arm: Move the duplicated assembly code to common folder 2022-04-21 12:56:34 +03:00
iar arch/arm: Move the duplicated assembly code to common folder 2022-04-21 12:56:34 +03:00
arm_allocateheap.c arm/allocateheap: fix multiple definition of 'up_allocate_heap' 2022-07-29 11:57:10 +03:00
arm_assert.c arch: Call board_reset before up_irq_save and spin_trylock 2022-07-28 08:18:24 -04:00
arm_backtrace_fp.c arch/backtrace: correct the skip counter 2022-06-16 21:09:14 +09:00
arm_backtrace_thumb.c Fix various typos 2022-07-08 02:15:54 +08:00
arm_blocktask.c arch/arm: Remove unneeded group_addrenv call which handled by arm_doirq 2022-04-18 22:18:32 +03:00
arm_checkstack.c arch: common: Fix up_check_tcbstack() for CONFIG_ARCH_ADDRENV=y 2022-08-04 11:13:16 +08:00
arm_createstack.c arm_createstack: fix warning for tc32 compiler. 2022-05-11 20:14:30 +03:00
arm_exit.c arch/arm: Remove FAR and CODE from common/ and arm*/ folder 2022-04-19 00:23:59 +03:00
arm_fullcontextrestore.c arch/arm: Switch the context of save and restore from assembler to c 2022-04-21 12:56:34 +03:00
arm_hostfs.c arm/hostfs: fix build warning 2022-07-29 08:52:59 +03:00
arm_idle.c arch: arm: common: Author Gregory Nutt: update licenses to Apache 2021-03-25 01:34:38 -07:00
arm_initialize.c netinitialize: call xxx_netinitialize unconditionally 2022-03-19 17:41:33 +08:00
arm_internal.h arch/stack: rename do_stack_check with arch prefix 2022-07-27 20:48:33 +08:00
arm_lowputs.c arch: arm: common: Author Gregory Nutt: update licenses to Apache 2021-03-25 01:34:38 -07:00
arm_mdelay.c arch: arm: common: Author Gregory Nutt: update licenses to Apache 2021-03-25 01:34:38 -07:00
arm_modifyreg8.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
arm_modifyreg16.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
arm_modifyreg32.c arch: Merge up_arch.h into up_internal.h 2022-03-14 09:32:17 +02:00
arm_nputs.c arch: Add up_nputs function to handle the non '\0' string correctly 2022-07-17 17:31:19 +03:00
arm_pthread_start.c arch: Move the content from svcall.h to syscall.h 2022-02-27 22:54:13 +08:00
arm_releasepending.c arch/arm: Remove unneeded group_addrenv call which handled by arm_doirq 2022-04-18 22:18:32 +03:00
arm_releasestack.c arch/arm: Remove FAR and CODE from common/ and arm*/ folder 2022-04-19 00:23:59 +03:00
arm_reprioritizertr.c arch/arm: Remove unneeded group_addrenv call which handled by arm_doirq 2022-04-18 22:18:32 +03:00
arm_saveusercontext.c arch/arm: Switch the context of save and restore from assembler to c 2022-04-21 12:56:34 +03:00
arm_semi_syslog.c arch: Add up_nputs function to handle the non '\0' string correctly 2022-07-17 17:31:19 +03:00
arm_signal_dispatch.c arch/arm: Remove FAR and CODE from common/ and arm*/ folder 2022-04-19 00:23:59 +03:00
arm_stackframe.c arch/arm: Remove FAR and CODE from common/ and arm*/ folder 2022-04-19 00:23:59 +03:00
arm_switchcontext.c arch/arm: optimize context switch speed 2022-03-15 23:03:51 +09:00
arm_task_start.c arch/arm: Remove FAR and CODE from common/ and arm*/ folder 2022-04-19 00:23:59 +03:00
arm_tls.c arch/arm: Remove FAR and CODE from common/ and arm*/ folder 2022-04-19 00:23:59 +03:00
arm_udelay.c arch: arm: common: Author Gregory Nutt: update licenses to Apache 2021-03-25 01:34:38 -07:00
arm_unblocktask.c arch/arm: Remove unneeded group_addrenv call which handled by arm_doirq 2022-04-18 22:18:32 +03:00
arm_usestack.c arch: Move STACK_ALIGNMENT definition to up_internal.h 2022-02-28 15:05:41 +08:00
arm_vfork.c arm/vfork: update the SP to stack top 2022-03-23 19:08:37 +09:00
arm_vfork.h arch: arm: nxstyle fixes 2021-04-08 22:48:46 -05:00
Make.defs arm/backtrace: use sp unwind if FRAME_POINTER is enabled on thumb mode 2022-08-03 17:58:36 +08:00
README_lwl_console.txt arch/arm: Rename all up_*.c files to arm_*.c 2020-05-01 02:11:01 +01:00