2010-07-30 Gedare Bloom <giddyup44@yahoo.com>

PR 1599/cpukit
	* irq.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary
	to more properly reflect the intent.
This commit is contained in:
Joel Sherrill
2010-07-30 18:52:14 +00:00
parent bfc76f9e1b
commit f2edf67da7
4 changed files with 14 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2010-07-30 Gedare Bloom <giddyup44@yahoo.com>
PR 1599/cpukit
* irq.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary
to more properly reflect the intent.
2010-07-29 Gedare Bloom <giddyup44@yahoo.com> 2010-07-29 Gedare Bloom <giddyup44@yahoo.com>
PR 1635/cpukit PR 1635/cpukit

View File

@@ -78,7 +78,7 @@ void __ISR_Handler(uint32_t vector, CPU_Interrupt_frame *ifr)
if ( _ISR_Nest_level ) if ( _ISR_Nest_level )
return; return;
if ( _Context_Switch_necessary ) { if ( _Thread_Dispatch_necessary ) {
/* save off our stack frame so the context switcher can get to it */ /* save off our stack frame so the context switcher can get to it */
_exception_stack_frame = ifr; _exception_stack_frame = ifr;

View File

@@ -1,3 +1,9 @@
2010-07-30 Gedare Bloom <giddyup44@yahoo.com>
PR 1599/cpukit
* irq.c: Rename _Context_Switch_necessary to _Thread_Dispatch_necessary
to more properly reflect the intent.
2010-07-29 Gedare Bloom <giddyup44@yahoo.com> 2010-07-29 Gedare Bloom <giddyup44@yahoo.com>
PR 1635/cpukit PR 1635/cpukit

View File

@@ -71,7 +71,7 @@ void __ISR_Handler(uint32_t vector, CPU_Interrupt_frame *ifr)
if( _Thread_Dispatch_disable_level == 0 ) if( _Thread_Dispatch_disable_level == 0 )
{ {
if ( _Context_Switch_necessary ) { if ( _Thread_Dispatch_necessary ) {
_CPU_ISR_Enable( level ); _CPU_ISR_Enable( level );
_Thread_Dispatch(); _Thread_Dispatch();
/* may have switched to another task and not return here immed. */ /* may have switched to another task and not return here immed. */