diff options
Diffstat (limited to 'c/src/exec/score/include/rtems/score/apiext.h')
-rw-r--r-- | c/src/exec/score/include/rtems/score/apiext.h | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/c/src/exec/score/include/rtems/score/apiext.h b/c/src/exec/score/include/rtems/score/apiext.h index 594c71d25c..44e7bc8dd3 100644 --- a/c/src/exec/score/include/rtems/score/apiext.h +++ b/c/src/exec/score/include/rtems/score/apiext.h @@ -18,6 +18,7 @@ #define __API_EXTENSIONS_h #include <rtems/score/chain.h> +#include <rtems/score/thread.h> /* * The control structure which defines the points at which an API @@ -26,11 +27,16 @@ typedef void (*API_extensions_Predriver_hook)(void); typedef void (*API_extensions_Postdriver_hook)(void); +typedef void (*API_extensions_Postswitch_hook)( + Thread_Control * + ); + typedef struct { - Chain_Node Node; - API_extensions_Predriver_hook predriver_hook; - API_extensions_Postdriver_hook postdriver_hook; + Chain_Node Node; + API_extensions_Predriver_hook predriver_hook; + API_extensions_Postdriver_hook postdriver_hook; + API_extensions_Postswitch_hook postswitch_hook; } API_extensions_Control; /* @@ -82,5 +88,15 @@ void _API_extensions_Run_predriver( void ); void _API_extensions_Run_postdriver( void ); +/* + * _API_extensions_Run_postswitch + * + * DESCRIPTION: + * + * XXX + */ + +void _API_extensions_Run_postswitch( void ); + #endif /* end of include file */ |