summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/rtems/config.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-05 14:30:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-05 14:30:54 +0000
commit1fd33fb41b840db6a9022d03139ec47c237f012c (patch)
tree273146b78d8210a67927e7acc5ab03338cc96762 /cpukit/sapi/include/rtems/config.h
parent2007-12-05 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-1fd33fb41b840db6a9022d03139ec47c237f012c.tar.bz2
2007-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/rtems/config.h: Commit temporary fix so interrupt_stack_size is accessible before RTEMS is initialized.
Diffstat (limited to 'cpukit/sapi/include/rtems/config.h')
-rw-r--r--cpukit/sapi/include/rtems/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/sapi/include/rtems/config.h b/cpukit/sapi/include/rtems/config.h
index b5b804ac7c..aa082137ce 100644
--- a/cpukit/sapi/include/rtems/config.h
+++ b/cpukit/sapi/include/rtems/config.h
@@ -198,6 +198,12 @@ SAPI_EXTERN rtems_configuration_table *_Configuration_Table;
#define rtems_configuration_get_idle_task_stack_size() \
(_Configuration_Table->idle_task_stack_size)
+/* XXX We need to get this from the generated table
+ * since BSPs need it before the pointer is set.
+ * Eventually all should be done this way.
+ */
+extern rtems_configuration_table Configuration;
+
#define rtems_configuration_get_interrupt_stack_size() \
(_Configuration_Table->interrupt_stack_size)