[PATCH] smpfatal08: halt secondary RISC-V processors

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Apr 13 05:44:56 UTC 2021

On 12/04/2021 21:40, Jiri Gaisler wrote:

> I just realized that I can change the patch from an assembly WFI to a 
> simple busy loop instead. This would work on any architecture without 
> assembly. Should I provide a new patch with this cleaner solution? 

You can use

(void) _CPU_Thread_Idle_body( 0 );

for an idle loop which my use architecture/BSP-specific optimizations, 
e.g. wfi.

embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:

More information about the devel mailing list