esp-idf/components/riscv
Marius Vikhammer be839733ed fix(interrupt): fixed exit critical section on P4/C5
When adjusting the interrupt level treshold on P4/C6 during a critical section exit
it would take a few cycles before this is taken into account by the CPU.

This meant that under some circumstances, e.g. 02, we could do
yield()->vPortExitCritical()->vPortEnterCritical()
without getting rescheduled.
This causes issues for freertos as it assumes the task will not continue into the
vPortEnterCritical before the scheduler has schedulded it again.

This meant that e.g. xTaskNotifyWait would yield, but then immeditaly continue as if
it was already notified.
2024-03-24 13:13:42 +08:00
..
include fix(interrupt): fixed exit critical section on P4/C5 2024-03-24 13:13:42 +08:00
ld
CMakeLists.txt
instruction_decode.c
interrupt.c
interrupt_clic.c
interrupt_intc.c
interrupt_plic.c
linker.lf
project_include.cmake
vectors.S
vectors_clic.S
vectors_intc.S