nuttx/arch/arm/src
anjiahao 28298b9d5e armv-m/syscall:use cfi to debug syscall
armv8m:use ip save pc
armv7m:use ip save pc, r11 save sp

nsh_main backtrace before:
```
0  nxsem_wait_slow (sem=0x10001e0 <g_uart0port+32>) at semaphore/sem_wait.c:202
1  0x0000882c in nxsem_wait (sem=0x10001e0 <g_uart0port+32>) at semaphore/sem_wait.c:270
2  0x0000e7e2 in uart_read (filep=0x608037d4, buffer=0x60c013eb " h\024\300`", buflen=1)
   at serial/serial.c:1203
3  0x0001aad4 in file_readv_compat (filep=0x608037d4, uio=0x60c01344) at vfs/fs_read.c:81
4  0x0001abae in file_readv (filep=0x608037d4, uio=0x60c01344) at vfs/fs_read.c:165
5  0x0001ac2e in nx_readv (fd=0, iov=0x60c01388, iovcnt=1) at vfs/fs_read.c:256
6  0x0001ac84 in readv (fd=0, iov=0x60c01388, iovcnt=1) at vfs/fs_read.c:318
7  0x0001acca in read (fd=0, buf=0x60c013eb, nbytes=1) at vfs/fs_read.c:352
8  0x000100ea in STUB_read (nbr=56, parm1=0, parm2=1623200747, parm3=1) at stubs/STUB_read.c:9
9  0x000014d2 in dispatch_syscall () at armv8-m/arm_svcall.c:82
```

nsh_main backtrace after:

```
0  nxsem_wait_slow (sem=0x10001f0 <g_uart0port+32>) at semaphore/sem_wait.c:202
1  0x000088c0 in nxsem_wait (sem=0x10001f0 <g_uart0port+32>) at semaphore/sem_wait.c:270
2  0x0000e882 in uart_read (filep=0x6080380c, buffer=0x60c013eb " h\024\300`", buflen=1)
   at serial/serial.c:1203
3  0x0001ab74 in file_readv_compat (filep=0x6080380c, uio=0x60c01344) at vfs/fs_read.c:81
4  0x0001ac4e in file_readv (filep=0x6080380c, uio=0x60c01344) at vfs/fs_read.c:165
5  0x0001acce in nx_readv (fd=0, iov=0x60c01388, iovcnt=1) at vfs/fs_read.c:256
6  0x0001ad24 in readv (fd=0, iov=0x60c01388, iovcnt=1) at vfs/fs_read.c:318
7  0x0001ad6a in read (fd=0, buf=0x60c013eb, nbytes=1) at vfs/fs_read.c:352
8  0x0001018a in STUB_read (nbr=56, parm1=0, parm2=1623200747, parm3=1) at stubs/STUB_read.c:9
9  0x00001ece in dispatch_syscall () at armv8-m/arm_dispatch_syscall.S:111
10 0x2000a874 in read (parm1=0, parm2=0x60c013eb, parm3=1) at proxies/PROXY_read.c:9
11 0x20001152 in readline_getc (vtbl=0x60c01468) at readline_fd.c:73
12 0x20003994 in readline_common (vtbl=0x60c01468, buf=0x60c017f8 "\n", buflen=80)
   at readline_common.c:513
13 0x200012ec in readline_fd (buf=0x60c017f8 "\n", buflen=80, infd=0, outfd=1) at readline_fd.c:236
14 0x200010a8 in nsh_session (pstate=0x60c01540, login=1, argc=1, argv=0x60c00548)
   at nsh_session.c:229
15 0x20000eb0 in nsh_consolemain (argc=1, argv=0x60c00548) at nsh_consolemain.c:75
16 0x20000e4c in nsh_main (argc=1, argv=0x60c00548) at nsh_main.c:74
17 0x20000062 in nxtask_startup (entrypt=0x20000e11 <nsh_main>, argc=1, argv=0x60c00548)
   at sched/task_startup.c:72
18 0x00009ac4 in nxtask_start () at task/task_start.c:106
19 0x60c00548 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
```

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2025-12-24 09:49:52 +08:00
..
a1x arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
am335x arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
arm arm: replace all nxsched_suspend/resume_*** with nxsched_switch_context 2025-09-25 16:40:23 +08:00
armv6-m armv-m/syscall:use cfi to debug syscall 2025-12-24 09:49:52 +08:00
armv7-a arch/arm: Fix the arm timer's maximum delay to be a 64-bit integer. 2025-11-24 19:43:07 +08:00
armv7-m armv-m/syscall:use cfi to debug syscall 2025-12-24 09:49:52 +08:00
armv7-r arch/arm: Fix the arm timer's maximum delay to be a 64-bit integer. 2025-11-24 19:43:07 +08:00
armv8-m armv-m/syscall:use cfi to debug syscall 2025-12-24 09:49:52 +08:00
armv8-r arch/armv8-r: use -mfpu=fpv5-sp-d16 for SP-only Cortex-R52 targets 2025-12-08 21:09:05 +08:00
at32 sched/sleep: replace all Signal-based sleep implement to Scheduled sleep 2025-10-17 14:05:02 +08:00
c5471 arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
cmake arch/armv8-r: use -mfpu=fpv5-sp-d16 for SP-only Cortex-R52 targets 2025-12-08 21:09:05 +08:00
common armv-m/syscall:use cfi to debug syscall 2025-12-24 09:49:52 +08:00
csk6 arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
cxd32xx arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
cxd56xx arch: cxd56xx: Fix failure to get RTC time in multi-core environment 2025-11-20 20:56:05 +08:00
dm320 arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
efm32 sched/sleep: replace all Signal-based sleep implement to Scheduled sleep 2025-10-17 14:05:02 +08:00
eoss3 arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
fvp-v8r-aarch32 arch/arm:use UP_DSB, UP_DMB, UP_ISB as barrier standard API 2025-01-20 20:13:07 +08:00
gd32f4 arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
goldfish arch/arm: Simplify arm_cpu_boot. 2025-11-17 10:25:37 +08:00
imx1 arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
imx6 arch/arm: Simplify arm_cpu_boot. 2025-11-17 10:25:37 +08:00
imx9 arm/imx9: Replace spinlock/sched_lock with spin_lock_irqsave_nopreempt 2025-11-04 22:46:15 +08:00
imxrt sched/sched: Remove nxsched_alarm_expiration 2025-12-22 21:17:13 +08:00
kinetis arm/kinetis: Fix warning 2025-12-10 11:40:36 +01:00
kl arch/arm/src/kl: CMake build implemented for NXP KL Series Arm MCUs 2025-12-02 02:42:55 +08:00
lc823450 arm/lc823450: Use clock_systime_ticks() to access system ticks 2025-11-13 18:40:16 -03:00
lpc17xx_40xx sched/sleep: replace all Signal-based sleep implement to Scheduled sleep 2025-10-17 14:05:02 +08:00
lpc31xx sched/sleep: replace all Signal-based sleep implement to Scheduled sleep 2025-10-17 14:05:02 +08:00
lpc43xx sched/sched: Remove nxsched_alarm_expiration 2025-12-22 21:17:13 +08:00
lpc54xx sched/sched: Remove nxsched_alarm_expiration 2025-12-22 21:17:13 +08:00
lpc214x arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
lpc2378 arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
max326xx arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
mcx-nxxx arch/arm/src/mcx-nxxx/CMakeLists.txt: Aligned Cmake with Make 2025-06-03 10:07:39 -03:00
moxart arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
mps mps3-an547:support protect mode 2025-12-18 22:19:44 +08:00
mx8mp sched/sleep: replace all Signal-based sleep implement to Scheduled sleep 2025-10-17 14:05:02 +08:00
nrf52 sched/sched: Remove nxsched_alarm_expiration 2025-12-22 21:17:13 +08:00
nrf53 sched/sched: Remove nxsched_alarm_expiration 2025-12-22 21:17:13 +08:00
nrf91 sched/sched: Remove nxsched_alarm_expiration 2025-12-22 21:17:13 +08:00
nuc1xx arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
phy62xx arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
qemu arch/arm: Simplify arm_cpu_boot. 2025-11-17 10:25:37 +08:00
ra4 arch/ra4: Add PWM driver support for RA4M1 2025-11-17 09:01:31 -03:00
rp23xx rp2040,rp23xx,rp23xx-rv: allow up to 32 PIO instructions 2025-12-15 18:01:27 +01:00
rp2040 rp2040,rp23xx,rp23xx-rv: allow up to 32 PIO instructions 2025-12-15 18:01:27 +01:00
rtl8720c sched/sleep: replace all Signal-based sleep implement to Scheduled sleep 2025-10-17 14:05:02 +08:00
s32k1xx arm/s32k1xx: Replace spinlock/sched_lock with spin_lock_irqsave_nopreempt 2025-11-04 22:46:15 +08:00
s32k3xx arm/s32k3xx: Replace spinlock/sched_lock with spin_lock_irqsave_nopreempt 2025-11-04 22:46:15 +08:00
sam34 timers/oneshot: Remove all callback and args. 2025-11-18 13:02:29 +01:00
sama5 timers/oneshot: Remove all callback and args. 2025-11-18 13:02:29 +01:00
samd2l2 arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
samd5e5 timers/oneshot: Remove all callback and args. 2025-11-18 13:02:29 +01:00
samv7 arch/arm/src/samv7/Kconfig: allow 0 in MCANx_RXFIFOx_SIZE 2025-12-04 16:32:39 +01:00
stm32 timers/oneshot: Remove all callback and args. 2025-11-18 13:02:29 +01:00
stm32f0l0g0 arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
stm32f7 sched/sched: Remove nxsched_alarm_expiration 2025-12-22 21:17:13 +08:00
stm32h5 arch/arm/stm32h5: Add RS-485 support to serial driver 2025-12-06 11:35:53 -03:00
stm32h7 sched/sched: Remove nxsched_alarm_expiration 2025-12-22 21:17:13 +08:00
stm32l4 arch/arm/src/stm32l4: Removed repeated addition of CONFIG_STM32L4_IWDG 2025-12-03 08:36:06 +08:00
stm32l5 arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
stm32u5 arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
stm32wb timers/oneshot: Remove all callback and args. 2025-11-18 13:02:29 +01:00
stm32wl5 arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
str71x arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
tiva sched/sleep: replace all Signal-based sleep implement to Scheduled sleep 2025-10-17 14:05:02 +08:00
tlsr82 arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
tms570 arch/init: call up_color_intstack before up_irq_enable 2025-10-14 17:42:01 +08:00
xmc4 sched/sched: Remove nxsched_alarm_expiration 2025-12-22 21:17:13 +08:00
.gitignore
CMakeLists.txt arch/qemu-armv7a: kernel mode cmake support 2025-01-02 23:13:07 +08:00
Makefile toolchain/arm: Fix link parameter error 2025-07-11 09:13:03 -03:00