[PATCH v2] smpfatal08: halt secondary processors if necessary

Gedare Bloom gedare at rtems.org
Tue Apr 13 15:21:21 UTC 2021


Hi Jiri,

Just one nit, I think we still want to keep
-  (void) cpu_self;
because the variable is unused. This suppresses unused variable warnings.

On Tue, Apr 13, 2021 at 7:18 AM Jiri Gaisler <jiri at gaisler.se> wrote:
>
> smpfatal08 fails on systems where all cpus are started by the boot-loader and thereby clobber the test output. This patch stops the secondary cpus with a call to _CPU_Thread_Idle_body(). Tested on RISC-V and SPARC.
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list