nuttx/arch
Ville Juven ca4bd482a0 arm64/task/pthread_start: Fix rare issue with context register location
There is a tiny possibility that when a process is started a trap is
taken which causes a context switch. This moves the kernel stack
unexpectedly and the task start logic no longer works.

Fix this by recording the initial context location, and use that to
trampoline into the user process with interrupts disabled. This ensures
the context stays intact AND the kernel stack is fully unwound before
the user process starts.
2024-09-11 08:59:01 -03:00
..
arm sched:add parameters to restore_critical_section 2024-09-10 23:14:09 +08:00
arm64 arm64/task/pthread_start: Fix rare issue with context register location 2024-09-11 08:59:01 -03:00
avr types.h: fix windows build error 2024-08-14 22:36:57 +08:00
ceva arch: remove unused up_cpu_pausereq waiting 2024-09-05 07:15:54 +09:00
dummy
hc types.h: fix windows build error 2024-08-14 22:36:57 +08:00
mips net/netstatistics: add tx/rx bytes statistics for dev 2024-09-10 11:36:03 +08:00
misoc net/netstatistics: add tx/rx bytes statistics for dev 2024-09-10 11:36:03 +08:00
or1k types.h: fix windows build error 2024-08-14 22:36:57 +08:00
renesas usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
risc-v riscv: Unify the extended context save/restore 2024-09-11 19:50:07 +08:00
sim sched:add parameters to restore_critical_section 2024-09-10 23:14:09 +08:00
sparc smp: enable smp_call in all smp arch 2024-09-06 07:11:38 +09:00
tricore cmake/tricore: filter out nostdlib in linker phase to avoid build break 2024-09-05 11:47:06 +08:00
x86 arch/EXTRA_LIBS: link all staging library. 2024-08-21 01:40:15 +08:00
x86_64 sched:add parameters to restore_critical_section 2024-09-10 23:14:09 +08:00
xtensa espressif: Update external libraries to fix GPIO interrupt bug 2024-09-11 09:05:45 +08:00
z16 types.h: fix windows build error 2024-08-14 22:36:57 +08:00
z80 types.h: fix windows build error 2024-08-14 22:36:57 +08:00
CMakeLists.txt build/cmake: add initial KERNEL mode support 2024-03-15 16:21:23 +08:00
Kconfig irq: dynaminc create g_irqmap 2024-09-03 19:22:28 -03:00