summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-04 16:02:40 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-04 16:02:40 +0000
commit113e85123f0e172c27d11b9b69eadc525ff721d3 (patch)
tree36e3ab8b9df0a4571eeeb391f4afb2f007a19f8a /cpukit
parent2007-12-03 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-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')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/sapi/include/rtems/config.h12
2 files changed, 17 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index ac2bf54c12..da97c082b7 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/malloc.c, libmisc/monitor/mon-command.c,
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.