forked from Imagelibrary/rtems
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:
@@ -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,
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user