nuttx-update/sched
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
..
addrenv sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
clock cmake:refine nuttx cmake build system fix CMake build missing part 2024-10-13 02:25:06 +08:00
environ sched/environ: There is no need to use sched_[un]lock 2024-10-11 02:43:11 +08:00
event sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
group Revert "sched/group/setuptask_file: duplicate idle task fd for kernel thread" 2024-10-11 16:53:19 +08:00
init arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
instrument gprof: move gprof function from sched to libbuiltin/libgcc 2024-11-13 02:42:31 +08:00
irq isrthread: add configuring the stack of an isrthread as static 2024-11-08 01:49:14 +08:00
misc arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
module modlib:Standardized module loading method 2024-10-05 15:22:02 +08:00
mqueue mq: change mqueue msg mail to dynamic array 2024-10-07 20:20:13 +08:00
paging sched: add nxsched_remove_self 2024-09-24 22:07:00 +08:00
pthread pthread: remove enter_critical_section in pthread_barrier_wait 2024-11-15 14:03:03 +08:00
sched arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
semaphore nuttx/semaphore: Move define CONFIG_SEM_PREALLOCHOLDERS to include/semaphore.h. 2024-10-31 18:37:53 +08:00
signal smpcall: add nxsched_smp_call_async and nxsched_smp_call_single_async 2024-11-06 09:53:28 +08:00
task smpcall: add nxsched_smp_call_async and nxsched_smp_call_single_async 2024-11-06 09:53:28 +08:00
timer timer_create:Checks whether the signo provided by the user is valid 2024-10-31 17:16:12 +08:00
tls sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
wdog sched/wdog: Fix code style 2024-10-10 13:57:46 +08:00
wqueue isrthread: add configuring the stack of an isrthread as static 2024-11-08 01:49:14 +08:00
CMakeLists.txt sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Kconfig gcov: Correct existing gcov configuration 2024-11-15 01:05:16 +08:00
Makefile Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00