nuttx/arch
hujun5 d1fec65e1b riscv: use g_running_task store current regs
This commit fixes the regression from https://github.com/apache/nuttx/pull/13561

In order to determine whether a context switch has occurred,
we can use g_running_task to store the current regs.
This allows us to compare the current register state with the previously
stored state to identify if a context switch has taken place.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-10-03 09:07:48 +08:00
..
arm arch/samd2l2:Ignore atomic warning when using clang compiler 2024-09-23 14:07:03 +08:00
arm64 arm64_task/pthread_start: Convert the C / inline ASM code to assembly 2024-09-21 23:24:02 +08:00
avr Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
ceva arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
dummy
hc Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
mips Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
misoc Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
or1k Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
renesas Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
risc-v riscv: use g_running_task store current regs 2024-10-03 09:07:48 +08:00
sim mm/kasan: Kasan global support setting alignment length 2024-09-20 21:47:23 +08:00
sparc arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
tricore Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
x86 Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
x86_64 arch/x86_64: add basic support for R_X86_64_REX_GOTPCRELX relocation 2024-09-17 03:20:03 +08:00
xtensa esp32s3: Fix faulty esp32s3-devkit:stack example 2024-09-21 10:42:06 +08:00
z16 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
z80 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
CMakeLists.txt build/cmake: add initial KERNEL mode support 2024-03-15 16:21:23 +08:00
Kconfig sched: move DUMP_ON_EXIT to sched 2024-09-19 03:49:12 +08:00