summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems')
-rw-r--r--cpukit/rtems/include/rtems/rtems/config.h10
-rw-r--r--cpukit/rtems/include/rtems/rtems/rtemsapi.h6
-rw-r--r--cpukit/rtems/src/taskinitusers.c5
3 files changed, 14 insertions, 7 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/config.h b/cpukit/rtems/include/rtems/rtems/config.h
index 05b232482f..dc69af0067 100644
--- a/cpukit/rtems/include/rtems/rtems/config.h
+++ b/cpukit/rtems/include/rtems/rtems/config.h
@@ -117,6 +117,16 @@ typedef struct {
} rtems_api_configuration_table;
/**
+ * @brief RTEMS API Configuration Table
+ *
+ * This is the RTEMS API Configuration Table expected to be generated
+ * by confdefs.h.
+ */
+extern rtems_api_configuration_table Configuration_RTEMS_API;
+
+/**@}*/
+
+/**
* This macro returns the value of the notepads enabled field
* in the Classic API configuration table.
*/
diff --git a/cpukit/rtems/include/rtems/rtems/rtemsapi.h b/cpukit/rtems/include/rtems/rtems/rtemsapi.h
index 5f32085ef6..da703813e3 100644
--- a/cpukit/rtems/include/rtems/rtems/rtemsapi.h
+++ b/cpukit/rtems/include/rtems/rtems/rtemsapi.h
@@ -31,11 +31,7 @@
* routine for each RTEMS manager with the appropriate parameters
* from the configuration_table.
*/
-void _RTEMS_API_Initialize(
- rtems_configuration_table *configuration_table
-);
-
-/**@}*/
+void _RTEMS_API_Initialize(void);
#endif
/* end of include file */
diff --git a/cpukit/rtems/src/taskinitusers.c b/cpukit/rtems/src/taskinitusers.c
index 38e470f408..0e5a19a35e 100644
--- a/cpukit/rtems/src/taskinitusers.c
+++ b/cpukit/rtems/src/taskinitusers.c
@@ -2,7 +2,7 @@
* RTEMS Task Manager
*
*
- * COPYRIGHT (c) 1989-2007.
+ * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -22,6 +22,7 @@
#include <rtems/rtems/support.h>
#include <rtems/rtems/modes.h>
#include <rtems/score/object.h>
+#include <rtems/rtems/rtemsapi.h>
#include <rtems/score/stack.h>
#include <rtems/score/states.h>
#include <rtems/rtems/tasks.h>
@@ -55,7 +56,7 @@ void _RTEMS_tasks_Initialize_user_tasks_body( void )
rtems_api_configuration_table *api_configuration;
- api_configuration = _Configuration_Table->RTEMS_api_configuration;
+ api_configuration = &Configuration_RTEMS_API;
/*
* NOTE: This is slightly different from the Ada implementation.