nuttx/arch/sim/src
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
..
cmake gcov: Correct existing gcov configuration 2024-11-15 01:05:16 +08:00
sim arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
.gitignore arch/sim: Copy include/nuttx/config.h to the local folder 2021-07-27 07:44:33 +09:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Makefile gprof: Remove duplicate content 2024-11-15 01:05:16 +08:00
nuttx-names.in nuttx-names.in: add feof 2024-10-10 22:55:04 +08:00