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