zephyr/arch/riscv/include
Nicolas Pitre ce8dabfe9e riscv: implement arch_switch()
The move to arch_switch() is a prerequisite for SMP support.

Make it optimal without the need for an ECALL roundtrip on every
context switch. Performance numbers from tests/benchmarks/sched:

Before:
unpend  107 ready  102 switch  188 pend  218 tot  615 (avg  615)

After:
unpend  107 ready  102 switch  170 pend  217 tot  596 (avg  595)

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2022-03-21 07:28:05 -04:00
..
core_pmp.h arch: riscv: pmp: introduce riscv_pmp_region structure 2022-01-11 11:47:03 +01:00
kernel_arch_data.h kernel: z_interrupt_stacks are now kernel stacks 2020-07-30 21:11:14 -04:00
kernel_arch_func.h riscv: implement arch_switch() 2022-03-21 07:28:05 -04:00
offsets_short_arch.h riscv: implement arch_switch() 2022-03-21 07:28:05 -04:00