2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>

PR 1573/cpukit
	* porting/interrupts.t: Add a per cpu data structure which contains the
	information required by RTEMS for each CPU core. This encapsulates
	information such as thread executing, heir, idle and dispatch needed.
This commit is contained in:
Joel Sherrill
2010-06-29 00:39:27 +00:00
parent 51bd2e5f21
commit da4d03d084
2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,10 @@
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1573/cpukit
* porting/interrupts.t: Add a per cpu data structure which contains the
information required by RTEMS for each CPU core. This encapsulates
information such as thread executing, heir, idle and dispatch needed.
2010-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, index.html.in, develenv/direct.t,

View File

@@ -366,11 +366,9 @@ if ( _ISR_Nest_level )
#endif
if ( _Thread_Dispatch_disable_level )
_ISR_Signals_to_thread_executing = FALSE;
goto the label "exit interrupt (simple case)"
if ( _Context_Switch_necessary || _ISR_Signals_to_thread_executing )
_ISR_Signals_to_thread_executing = FALSE;
if ( _Context_Switch_necessary )
call _Thread_Dispatch() or prepare to return to _ISR_Dispatch
prepare to get out of interrupt
return from interrupt (maybe to _ISR_Dispatch)