riscv: Enable robust thread dispatch

It must be enabled, since the context switch code does not save/restore
the interrupt status.

Update #3433.
This commit is contained in:
Sebastian Huber
2019-01-08 09:50:50 +01:00
parent 3bd3999936
commit b9ffc41c96

View File

@@ -52,6 +52,9 @@ extern "C" {
#define CPU_ALL_TASKS_ARE_FP FALSE
#define CPU_IDLE_TASK_IS_FP FALSE
#define CPU_USE_DEFERRED_FP_SWITCH FALSE
#define CPU_ENABLE_ROBUST_THREAD_DISPATCH TRUE
#define CPU_STACK_GROWS_UP FALSE
#define CPU_STRUCTURE_ALIGNMENT __attribute__ ((aligned (64)))