2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>

* rtems/score/cpu.h: Mark _CPU_Context_restore() as noreturn so the
	compiler will not generate code thinking it returns.
This commit is contained in:
Joel Sherrill
2009-08-19 16:39:05 +00:00
parent 3c1adeec71
commit db0df7b6df
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Mark _CPU_Context_restore() as noreturn so the
compiler will not generate code thinking it returns.
2009-07-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
* arm_exc_handler_high.c, arm_exc_handler_low.S, arm_exc_interrupt.S:

View File

@@ -361,7 +361,8 @@ void _CPU_Install_interrupt_stack( void );
void _CPU_Context_switch( Context_Control *run, Context_Control *heir );
void _CPU_Context_restore( Context_Control *new_context );
void _CPU_Context_restore( Context_Control *new_context )
RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
void _CPU_Context_save_fp( Context_Control_fp **fp_context_ptr );