nuttx/arch/mips/src/mips32
hujun5 19b4911d7f arch: remove up_current_regs in common code
reason:

When entering an exception or interrupt, there are two sets of registers:
one is the "running regs", which we need to save,
and the other is the "ready to running regs", which we may soon use.
For consistency in logic, we can always store the "running regs" in the regs field of g_running_tasks,
otherwise it may lead to errors in the storage location of the "running regs."

When we need to access the "running regs," we should uniformly retrieve them from the regs field of g_running_tasks.

As the next step, we will rename the set_current_regs/up_current_regs functions
for each architecture to more appropriate names, solely for the purpose of identifying interrupts.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-11-15 18:25:35 +08:00
..
fork.S libs/libc/fork: add lib_fork implementation 2023-07-26 10:41:52 +02:00
Kconfig sched/task/fork: add fork implementation 2023-07-12 02:27:37 +08:00
mips32-memorymap.h
mips_cache.S
mips_copystate.c arch: rename arch special function name 2022-11-22 16:27:56 +08:00
mips_doirq.c arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
mips_fork.c libs/libc/fork: add lib_fork implementation 2023-07-26 10:41:52 +02:00
mips_fork.h sched/task/fork: add fork implementation 2023-07-12 02:27:37 +08:00
mips_initialstate.c arch: Save sigdeliver into xcp in the case of signal self delevery 2023-05-17 11:53:18 -06:00
mips_irq.c
mips_registerdump.c arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
mips_saveusercontext.c arch: Return directly when arch not support interrupt context save 2023-04-27 23:21:05 +03:00
mips_schedulesigaction.c signal: adjust the signal processing logic to remove the judgment 2024-10-07 13:32:57 +08:00
mips_sigdeliver.c arch: move sigdeliver to common code 2024-10-07 13:32:57 +08:00
mips_swint0.c arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
mips_switchcontext.c arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
mips_syscall0.S
Toolchain.defs nuttx: Add LIBSUPCXX_TOOLCHAIN to link the prebuilt library provide by toolchain. 2024-10-24 01:38:03 +08:00