diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-12-08 08:34:08 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-12-08 08:38:10 +0100 |
commit | bd91f446f2a9d19d8cbd0eb9a21816e15111bbed (patch) | |
tree | 7f4ae9b9f3bd1e03dcefc2d5176c895a0a1a373e /cpukit/score/include/rtems/score/apiext.h | |
parent | score: Statically initialize API extensions (diff) | |
download | rtems-bd91f446f2a9d19d8cbd0eb9a21816e15111bbed.tar.bz2 |
score: Delete unused API extensions
Update #2408.
Diffstat (limited to 'cpukit/score/include/rtems/score/apiext.h')
-rw-r--r-- | cpukit/score/include/rtems/score/apiext.h | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/cpukit/score/include/rtems/score/apiext.h b/cpukit/score/include/rtems/score/apiext.h index 7b77ab5d5b..ab1329b261 100644 --- a/cpukit/score/include/rtems/score/apiext.h +++ b/cpukit/score/include/rtems/score/apiext.h @@ -19,7 +19,6 @@ #define _RTEMS_SCORE_APIEXT_H #include <rtems/score/chainimpl.h> -#include <rtems/score/thread.h> #ifdef __cplusplus extern "C" { @@ -39,13 +38,6 @@ extern "C" { */ /**@{*/ -#if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API) - /** - * This type defines the prototype of the Predriver Hook. - */ - typedef void (*API_extensions_Predriver_hook)(void); -#endif - /** * This type defines the prototype of the Postdriver Hook. */ @@ -58,16 +50,7 @@ typedef void (*API_extensions_Postdriver_hook)(void); typedef struct { /** This field allows this structure to be used with the Chain Handler. */ Chain_Node Node; - #if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API) - /** - * This field is the callout invoked during RTEMS initialization after - * RTEMS data structures are initialized before device driver initialization - * has occurred. - * - * @note If this field is NULL, no extension is invoked. - */ - API_extensions_Predriver_hook predriver_hook; - #endif + /** * This field is the callout invoked during RTEMS initialization after * RTEMS data structures and device driver initialization has occurred @@ -89,15 +72,6 @@ void _API_extensions_Add( API_extensions_Control *the_extension ); -#if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API) -/** - * @brief Execute all pre-driver extensions. - * - * This routine executes all of the predriver callouts. - */ - void _API_extensions_Run_predriver( void ); -#endif - /** * @brief Execute all post-driver extensions. * |