Classified as: {OPEN} I don't know how to run the tests. I observe that _Thread_Do_dispatch fails with INTERNAL_ERROR_BAD_THREAD_DISPATCH_ENVIRONMENT because RTEMS_SCORE_ROBUST_THREAD_DISPATCH is activated and the _ISR_Is_enabled returns false.
Indeed, the _CPU_Start_multitasking should be called properly, but the _RISCV_Start_multitasking function is only present when the RTEMS_SMP flag is activated. There is something that seems strange between the multitask and SMP functionalities in the riscv-context-switch.S file. A single core system should be capable of running a multitask system. I agree that my solution is not good but moving _RISCV_Start_multitasking out of the '#ifdef RTEMS_SMP' barrier seems to bring many side effects. Best regards, ------- Kevin EYSSARTIER, Research Engineer Thales Research & Technology France - High Performance Computing Lab Campus Polytechnique - 1, avenue Augustin Fresnel - 91767 Palaiseau cedex Phone : +33 (0)1 69 41 55 14 Internal : 341 55 14 {OPEN}
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel