diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-05 15:14:51 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-09 08:00:52 +0100 |
commit | 5ae6112559e6767c50d7669440ee0074587bf724 (patch) | |
tree | 0b6148445fd5c046e7aa5a78a8e111192a9bed41 /cpukit/include/rtems/score/userextdata.h | |
parent | bsp/xen: Use BSP options for all linkcmds vars (diff) | |
download | rtems-5ae6112559e6767c50d7669440ee0074587bf724.tar.bz2 |
userext: Simplify configuration
Avoid the use of the workspace and use statically allocated switch
controls for the initial extensions.
Diffstat (limited to 'cpukit/include/rtems/score/userextdata.h')
-rw-r--r-- | cpukit/include/rtems/score/userextdata.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cpukit/include/rtems/score/userextdata.h b/cpukit/include/rtems/score/userextdata.h index 7b7a2eb95f..04dead889d 100644 --- a/cpukit/include/rtems/score/userextdata.h +++ b/cpukit/include/rtems/score/userextdata.h @@ -53,6 +53,28 @@ typedef struct { User_extensions_Table Callouts; } User_extensions_Control; +/** + * @brief The count of initial user extensions. + * + * Application provided via <rtems/confdefs.h>. + */ +extern const size_t _User_extensions_Initial_count; + +/** + * @brief The table of initial user extensions. + * + * Application provided via <rtems/confdefs.h>. + */ +extern const User_extensions_Table _User_extensions_Initial_extensions[]; + +/** + * @brief A spare switch control for each initial user extension. + * + * Application provided via <rtems/confdefs.h>. + */ +extern User_extensions_Switch_control + _User_extensions_Initial_switch_controls[]; + /** @} */ #ifdef __cplusplus |