forked from Imagelibrary/rtems
2002-04-08 Chris Johns <ccj@acm.org>
* Per PR141 and PR174, make task switch extension its own list and fix all odd problems introduced by providing macro version. * inline/rtems/score/userext.inl: Fix.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2002-04-08 Chris Johns <ccj@acm.org>
|
||||||
|
|
||||||
|
* Per PR141 and PR174, make task switch extension its own list and
|
||||||
|
fix all odd problems introduced by providing macro version.
|
||||||
|
* inline/rtems/score/userext.inl: Fix.
|
||||||
|
|
||||||
2001-04-08 Joel Sherrill <joel@OARcorp.com>
|
2001-04-08 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* macros/rtems/score/object.inl: Corrected arguments.
|
* macros/rtems/score/object.inl: Corrected arguments.
|
||||||
|
|||||||
@@ -104,7 +104,8 @@ RTEMS_INLINE_ROUTINE void _User_extensions_Add_API_set (
|
|||||||
* If a switch handler is present, append it to the switch chain.
|
* If a switch handler is present, append it to the switch chain.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( extension_table->thread_switch != NULL ) {
|
if ( the_extension->Callouts.thread_switch != NULL ) {
|
||||||
|
the_extension->Switch.thread_switch = the_extension->Callouts.thread_switch;
|
||||||
_Chain_Append(
|
_Chain_Append(
|
||||||
&_User_extensions_Switches_list, &the_extension->Switch.Node );
|
&_User_extensions_Switches_list, &the_extension->Switch.Node );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,6 +81,8 @@
|
|||||||
_Chain_Prepend( &_User_extensions_List, &(_the_extension)->Node ); \
|
_Chain_Prepend( &_User_extensions_List, &(_the_extension)->Node ); \
|
||||||
\
|
\
|
||||||
if ( (_the_extension)->Callouts.thread_switch != NULL ) { \
|
if ( (_the_extension)->Callouts.thread_switch != NULL ) { \
|
||||||
|
(_the_extension)->Switch.thread_switch = \
|
||||||
|
(_the_extension)->Callouts.thread_switch; \
|
||||||
_Chain_Append( \
|
_Chain_Append( \
|
||||||
&_User_extensions_Switches_list, &(_the_extension)->Switch.Node ); \
|
&_User_extensions_Switches_list, &(_the_extension)->Switch.Node ); \
|
||||||
} \
|
} \
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
2002-04-08 Chris Johns <ccj@acm.org>
|
||||||
|
|
||||||
|
* Per PR141 and PR174, make task switch extension its own list and
|
||||||
|
fix all odd problems introduced by providing macro version.
|
||||||
|
* inline/rtems/score/userext.inl: Fix.
|
||||||
|
|
||||||
2001-04-08 Joel Sherrill <joel@OARcorp.com>
|
2001-04-08 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* macros/rtems/score/object.inl: Corrected arguments.
|
* macros/rtems/score/object.inl: Corrected arguments.
|
||||||
|
|||||||
@@ -104,7 +104,8 @@ RTEMS_INLINE_ROUTINE void _User_extensions_Add_API_set (
|
|||||||
* If a switch handler is present, append it to the switch chain.
|
* If a switch handler is present, append it to the switch chain.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( extension_table->thread_switch != NULL ) {
|
if ( the_extension->Callouts.thread_switch != NULL ) {
|
||||||
|
the_extension->Switch.thread_switch = the_extension->Callouts.thread_switch;
|
||||||
_Chain_Append(
|
_Chain_Append(
|
||||||
&_User_extensions_Switches_list, &the_extension->Switch.Node );
|
&_User_extensions_Switches_list, &the_extension->Switch.Node );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,6 +81,8 @@
|
|||||||
_Chain_Prepend( &_User_extensions_List, &(_the_extension)->Node ); \
|
_Chain_Prepend( &_User_extensions_List, &(_the_extension)->Node ); \
|
||||||
\
|
\
|
||||||
if ( (_the_extension)->Callouts.thread_switch != NULL ) { \
|
if ( (_the_extension)->Callouts.thread_switch != NULL ) { \
|
||||||
|
(_the_extension)->Switch.thread_switch = \
|
||||||
|
(_the_extension)->Callouts.thread_switch; \
|
||||||
_Chain_Append( \
|
_Chain_Append( \
|
||||||
&_User_extensions_Switches_list, &(_the_extension)->Switch.Node ); \
|
&_User_extensions_Switches_list, &(_the_extension)->Switch.Node ); \
|
||||||
} \
|
} \
|
||||||
|
|||||||
Reference in New Issue
Block a user