mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-29 07:50:18 +00:00
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:
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user