[PATCH] score: Add _CPU_Context_switch_no_return()

Sebastian Huber sebastian.huber at embedded-brains.de
Tue May 18 05:48:18 UTC 2021

On 18/05/2021 00:07, Joel Sherrill wrote:
> Does this impact the porting guide 

I added this to cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h:

  * @brief Peforms a context switch from the executing thread to the 
heir thread
  *   and does not return.
  * @addtogroup RTEMSScoreCPUExampleContext
  * This routine shall be a strong alias to _CPU_Context_switch().  It 
shall be
  * provided for all target architectures which support an SMP build
  * configuration (RTEMS_SMP).  The purpose is help to compiler to avoid
  * generation of dead code in _Thread_Start_multitasking().
  * @param[out] executing points to the context of the currently 
executing task.
  * @param[in, out] heir points to the context of the heir task.
RTEMS_NO_RETURN void _CPU_Context_switch_no_return(
   Context_Control *executing,
   Context_Control *heir

> or any CPU supplement?


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