diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-11-07 13:59:19 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-11-13 09:20:57 +0100 |
commit | 466cf31d81cf0cc5fd659aed0924a1f6ee7d18be (patch) | |
tree | d1381235011ecaced397b15ba14e4522dd8db72c /cpukit/score/include/rtems/score/userext.h | |
parent | score: Add and use _User_extensions_Iterate() (diff) | |
download | rtems-466cf31d81cf0cc5fd659aed0924a1f6ee7d18be.tar.bz2 |
score: Statically initialize user extensions
The initial extensions remain now in a read-only table and will not be
copied to work space memory. The extension chains are statically
initialized. This makes it possible to call _User_extensions_Iterate()
independent of the system state. It is now guaranteed that the fatal
callout of the initial extensions will be called provided the stack
pointer, the read-only data, and code memory are valid.
Diffstat (limited to 'cpukit/score/include/rtems/score/userext.h')
-rw-r--r-- | cpukit/score/include/rtems/score/userext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/userext.h b/cpukit/score/include/rtems/score/userext.h index a3cd918eba..b182e86172 100644 --- a/cpukit/score/include/rtems/score/userext.h +++ b/cpukit/score/include/rtems/score/userext.h @@ -234,12 +234,12 @@ typedef struct { /** * @brief List of active extensions. */ -SCORE_EXTERN Chain_Control _User_extensions_List; +extern Chain_Control _User_extensions_List; /** * @brief List of active task switch extensions. */ -SCORE_EXTERN Chain_Control _User_extensions_Switches_list; +extern Chain_Control _User_extensions_Switches_list; /** * @name Extension Maintainance |