diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-04 16:02:40 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-04 16:02:40 +0000 |
commit | 113e85123f0e172c27d11b9b69eadc525ff721d3 (patch) | |
tree | 36e3ab8b9df0a4571eeeb391f4afb2f007a19f8a /cpukit/sapi | |
parent | 2007-12-03 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-113e85123f0e172c27d11b9b69eadc525ff721d3.tar.bz2 |
2007-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/rtems/config.h: Add accessory macros for Configuration
Table fields merged from CPU Table.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r-- | cpukit/sapi/include/rtems/config.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cpukit/sapi/include/rtems/config.h b/cpukit/sapi/include/rtems/config.h index 6ba5b28804..6dd52f08eb 100644 --- a/cpukit/sapi/include/rtems/config.h +++ b/cpukit/sapi/include/rtems/config.h @@ -186,6 +186,18 @@ SAPI_EXTERN rtems_configuration_table *_Configuration_Table; #define rtems_configuration_get_ticks_per_timeslice() \ (_Configuration_Table->ticks_per_timeslice) +#define rtems_configuration_get_idle_task() \ + (_Configuration_Table->idle_task) + +#define rtems_configuration_get_idle_task_stack_size() \ + (_Configuration_Table->idle_task_stack_size) + +#define rtems_configuration_get_stack_allocate_hook() \ + (_Configuration_Table->stack_allocate_hook) + +#define rtems_configuration_get_stack_free_hook() \ + (_Configuration_Table->stack_free_hook) + /** * This macro assists in accessing the field which indicates whether * RTEMS is responsible for zeroing the Executive Workspace. |