mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Koen Zandberg
1e5dc928ad
This is a small optimization to the RISC-V trap handler. By splitting the call to sched_run from the trap_handle call, loading the previous thread ptr can be delayed until after it is determined that a schedule run is required. This shaves of a few cycles during regular interrupts that do not trigger the scheduler. |
||
---|---|---|
.. | ||
include | ||
ldscripts | ||
nano | ||
periph | ||
vendor | ||
clock.c | ||
context_frame.c | ||
cpu.c | ||
irq_arch.c | ||
Kconfig | ||
Makefile | ||
Makefile.dep | ||
Makefile.features | ||
Makefile.include | ||
panic.c | ||
start.S | ||
thread_arch.c |