summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-29 22:48:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-29 22:48:26 +0000
commitbe1c11edab1ad9004effbacf0e75bc558563d47d (patch)
tree0c6f4535b86f668c574b986cab0a84d6037fc476
parentdd32d883d73973bb2189d51f3d17e99783be1616 (diff)
downloadrtems-be1c11edab1ad9004effbacf0e75bc558563d47d.tar.bz2
tests now specify whether using posix initialization threads table
or rtems initialization table in configuration table
-rw-r--r--c/src/exec/sapi/headers/confdefs.h58
-rw-r--r--c/src/exec/sapi/include/confdefs.h58
-rw-r--r--c/src/tests/libtests/stackchk/system.h2
-rw-r--r--c/src/tests/mptests/mp01/system.h1
-rw-r--r--c/src/tests/mptests/mp02/system.h2
-rw-r--r--c/src/tests/mptests/mp03/system.h2
-rw-r--r--c/src/tests/mptests/mp04/system.h2
-rw-r--r--c/src/tests/mptests/mp05/system.h2
-rw-r--r--c/src/tests/mptests/mp06/system.h2
-rw-r--r--c/src/tests/mptests/mp07/system.h2
-rw-r--r--c/src/tests/mptests/mp08/system.h2
-rw-r--r--c/src/tests/mptests/mp09/system.h2
-rw-r--r--c/src/tests/mptests/mp10/system.h2
-rw-r--r--c/src/tests/mptests/mp11/system.h2
-rw-r--r--c/src/tests/mptests/mp12/system.h2
-rw-r--r--c/src/tests/mptests/mp13/system.h2
-rw-r--r--c/src/tests/mptests/mp14/system.h2
-rw-r--r--c/src/tests/psxtests/psx01/init.c2
-rw-r--r--c/src/tests/psxtests/psx01/system.h6
-rw-r--r--c/src/tests/samples/base_mp/system.h2
-rw-r--r--c/src/tests/samples/base_sp/system.h2
-rw-r--r--c/src/tests/samples/cdtest/system.h1
-rw-r--r--c/src/tests/samples/hello/system.h2
-rw-r--r--c/src/tests/samples/paranoia/system.h2
-rw-r--r--c/src/tests/samples/ticker/system.h2
-rw-r--r--c/src/tests/sptests/sp01/system.h2
-rw-r--r--c/src/tests/sptests/sp02/system.h2
-rw-r--r--c/src/tests/sptests/sp03/system.h2
-rw-r--r--c/src/tests/sptests/sp04/system.h2
-rw-r--r--c/src/tests/sptests/sp05/system.h2
-rw-r--r--c/src/tests/sptests/sp06/system.h2
-rw-r--r--c/src/tests/sptests/sp07/system.h2
-rw-r--r--c/src/tests/sptests/sp08/system.h2
-rw-r--r--c/src/tests/sptests/sp09/system.h2
-rw-r--r--c/src/tests/sptests/sp11/system.h2
-rw-r--r--c/src/tests/sptests/sp12/system.h2
-rw-r--r--c/src/tests/sptests/sp13/system.h2
-rw-r--r--c/src/tests/sptests/sp14/system.h2
-rw-r--r--c/src/tests/sptests/sp15/system.h2
-rw-r--r--c/src/tests/sptests/sp16/system.h2
-rw-r--r--c/src/tests/sptests/sp17/system.h2
-rw-r--r--c/src/tests/sptests/sp19/system.h2
-rw-r--r--c/src/tests/sptests/sp20/system.h2
-rw-r--r--c/src/tests/sptests/sp21/system.h2
-rw-r--r--c/src/tests/sptests/sp22/system.h2
-rw-r--r--c/src/tests/sptests/sp23/system.h2
-rw-r--r--c/src/tests/sptests/sp24/system.h2
-rw-r--r--c/src/tests/sptests/sp25/system.h2
-rw-r--r--c/src/tests/sptests/spfatal/system.h2
-rw-r--r--c/src/tests/sptests/spsize/system.h2
-rw-r--r--c/src/tests/tmtests/tm01/system.h2
-rw-r--r--c/src/tests/tmtests/tm02/system.h2
-rw-r--r--cpukit/sapi/include/confdefs.h58
-rw-r--r--testsuites/libtests/stackchk/system.h2
-rw-r--r--testsuites/mptests/mp01/system.h1
-rw-r--r--testsuites/mptests/mp02/system.h2
-rw-r--r--testsuites/mptests/mp03/system.h2
-rw-r--r--testsuites/mptests/mp04/system.h2
-rw-r--r--testsuites/mptests/mp05/system.h2
-rw-r--r--testsuites/mptests/mp06/system.h2
-rw-r--r--testsuites/mptests/mp07/system.h2
-rw-r--r--testsuites/mptests/mp08/system.h2
-rw-r--r--testsuites/mptests/mp09/system.h2
-rw-r--r--testsuites/mptests/mp10/system.h2
-rw-r--r--testsuites/mptests/mp11/system.h2
-rw-r--r--testsuites/mptests/mp12/system.h2
-rw-r--r--testsuites/mptests/mp13/system.h2
-rw-r--r--testsuites/mptests/mp14/system.h2
-rw-r--r--testsuites/psxtests/psx01/init.c2
-rw-r--r--testsuites/psxtests/psx01/system.h6
-rw-r--r--testsuites/samples/base_mp/system.h2
-rw-r--r--testsuites/samples/base_sp/system.h2
-rw-r--r--testsuites/samples/cdtest/system.h1
-rw-r--r--testsuites/samples/hello/system.h2
-rw-r--r--testsuites/samples/paranoia/system.h2
-rw-r--r--testsuites/samples/ticker/system.h2
-rw-r--r--testsuites/sptests/sp01/system.h2
-rw-r--r--testsuites/sptests/sp02/system.h2
-rw-r--r--testsuites/sptests/sp03/system.h2
-rw-r--r--testsuites/sptests/sp04/system.h2
-rw-r--r--testsuites/sptests/sp05/system.h2
-rw-r--r--testsuites/sptests/sp06/system.h2
-rw-r--r--testsuites/sptests/sp07/system.h2
-rw-r--r--testsuites/sptests/sp08/system.h2
-rw-r--r--testsuites/sptests/sp09/system.h2
-rw-r--r--testsuites/sptests/sp11/system.h2
-rw-r--r--testsuites/sptests/sp12/system.h2
-rw-r--r--testsuites/sptests/sp13/system.h2
-rw-r--r--testsuites/sptests/sp14/system.h2
-rw-r--r--testsuites/sptests/sp15/system.h2
-rw-r--r--testsuites/sptests/sp16/system.h2
-rw-r--r--testsuites/sptests/sp17/system.h2
-rw-r--r--testsuites/sptests/sp19/system.h2
-rw-r--r--testsuites/sptests/sp20/system.h2
-rw-r--r--testsuites/sptests/sp21/system.h2
-rw-r--r--testsuites/sptests/sp22/system.h2
-rw-r--r--testsuites/sptests/sp23/system.h2
-rw-r--r--testsuites/sptests/sp24/system.h2
-rw-r--r--testsuites/sptests/sp25/system.h2
-rw-r--r--testsuites/sptests/spfatal/system.h2
-rw-r--r--testsuites/sptests/spsize/system.h2
-rw-r--r--testsuites/tmtests/tm01/system.h2
-rw-r--r--testsuites/tmtests/tm02/system.h2
103 files changed, 327 insertions, 51 deletions
diff --git a/c/src/exec/sapi/headers/confdefs.h b/c/src/exec/sapi/headers/confdefs.h
index 700c4eb7a4..13529eef05 100644
--- a/c/src/exec/sapi/headers/confdefs.h
+++ b/c/src/exec/sapi/headers/confdefs.h
@@ -27,7 +27,7 @@ extern rtems_driver_address_table Device_drivers[];
extern rtems_configuration_table Configuration;
extern rtems_multiprocessing_table Multiprocessing_configuration;
#ifdef RTEMS_POSIX_API
-extern posix_api_configuration_table Configuration_POSIX_API;
+extern posix_api_configuration_table Configuration_POSIX_API;
#endif
/*
@@ -35,7 +35,16 @@ extern posix_api_configuration_table Configuration_POSIX_API;
* one user initialization table is defined.
*/
-#ifndef CONFIGURE_HAS_OWN_INIT_TASK_TABLE
+#ifdef CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#ifdef CONFIGURE_HAS_OWN_INIT_TASK_TABLE
+
+/*
+ * The user is defining their own table information and setting the
+ * appropriate variables.
+ */
+
+#else
#ifndef CONFIGURE_INIT_TASK_NAME
#define CONFIGURE_INIT_TASK_NAME rtems_build_name( 'U', 'I', '1', ' ' )
@@ -83,6 +92,13 @@ rtems_initialization_tasks_table Initialization_tasks[] = {
#define CONFIGURE_INIT_TASK_TABLE_SIZE \
sizeof(CONFIGURE_INIT_TASK_TABLE) / sizeof(rtems_initialization_tasks_table)
+#endif /* CONFIGURE_HAS_OWN_INIT_TASK_TABLE */
+
+#else /* CONFIGURE_RTEMS_INIT_TASKS_TABLE */
+
+#define CONFIGURE_INIT_TASK_TABLE NULL
+#define CONFIGURE_INIT_TASK_TABLE_SIZE 0
+
#endif
/*
@@ -265,26 +281,42 @@ rtems_multiprocessing_table Multiprocessing_configuration = {
#define CONFIGURE_MAXIMUM_POSIX_KEYS 0
#endif
-#ifndef CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE
+#ifdef CONFIGURE_POSIX_INIT_THREAD_TABLE
+
+#ifdef CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE
-#ifndef CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT
-#define CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT Init
+/*
+ * The user is defining their own table information and setting the
+ * appropriate variables.
+ */
+
+#else
+
+#ifndef CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT
+#define CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT POSIX_Init
#endif
#ifdef CONFIGURE_INIT
-posix_initialization_tasks_table POSIX_Initialization_tasks[] = {
- { CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT }
+posix_initialization_threads_table POSIX_Initialization_threads[] = {
+ { CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT }
};
#endif
-#define CONFIGURE_POSIX_INIT_TASK_TABLE POSIX_Initialization_tasks
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME POSIX_Initialization_threads
-#define CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE \
- sizeof(CONFIGURE_POSIX_INIT_TASK_TABLE) / \
- sizeof(posix_initialization_tasks_table)
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE \
+ sizeof(CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME) / \
+ sizeof(posix_initialization_threads_table)
#endif /* CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE */
+#else /* CONFIGURE_POSIX_INIT_THREAD_TABLE */
+
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME NULL
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE 0
+
+#endif
+
#endif /* RTEMS_POSIX_API */
/*
@@ -412,8 +444,8 @@ posix_api_configuration_table Configuration_POSIX_API = {
CONFIGURE_MAXIMUM_POSIX_MUTEXES,
CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES,
CONFIGURE_MAXIMUM_POSIX_KEYS,
- CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE,
- CONFIGURE_POSIX_INIT_TASK_TABLE
+ CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE,
+ CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME
};
#endif
diff --git a/c/src/exec/sapi/include/confdefs.h b/c/src/exec/sapi/include/confdefs.h
index 700c4eb7a4..13529eef05 100644
--- a/c/src/exec/sapi/include/confdefs.h
+++ b/c/src/exec/sapi/include/confdefs.h
@@ -27,7 +27,7 @@ extern rtems_driver_address_table Device_drivers[];
extern rtems_configuration_table Configuration;
extern rtems_multiprocessing_table Multiprocessing_configuration;
#ifdef RTEMS_POSIX_API
-extern posix_api_configuration_table Configuration_POSIX_API;
+extern posix_api_configuration_table Configuration_POSIX_API;
#endif
/*
@@ -35,7 +35,16 @@ extern posix_api_configuration_table Configuration_POSIX_API;
* one user initialization table is defined.
*/
-#ifndef CONFIGURE_HAS_OWN_INIT_TASK_TABLE
+#ifdef CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#ifdef CONFIGURE_HAS_OWN_INIT_TASK_TABLE
+
+/*
+ * The user is defining their own table information and setting the
+ * appropriate variables.
+ */
+
+#else
#ifndef CONFIGURE_INIT_TASK_NAME
#define CONFIGURE_INIT_TASK_NAME rtems_build_name( 'U', 'I', '1', ' ' )
@@ -83,6 +92,13 @@ rtems_initialization_tasks_table Initialization_tasks[] = {
#define CONFIGURE_INIT_TASK_TABLE_SIZE \
sizeof(CONFIGURE_INIT_TASK_TABLE) / sizeof(rtems_initialization_tasks_table)
+#endif /* CONFIGURE_HAS_OWN_INIT_TASK_TABLE */
+
+#else /* CONFIGURE_RTEMS_INIT_TASKS_TABLE */
+
+#define CONFIGURE_INIT_TASK_TABLE NULL
+#define CONFIGURE_INIT_TASK_TABLE_SIZE 0
+
#endif
/*
@@ -265,26 +281,42 @@ rtems_multiprocessing_table Multiprocessing_configuration = {
#define CONFIGURE_MAXIMUM_POSIX_KEYS 0
#endif
-#ifndef CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE
+#ifdef CONFIGURE_POSIX_INIT_THREAD_TABLE
+
+#ifdef CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE
-#ifndef CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT
-#define CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT Init
+/*
+ * The user is defining their own table information and setting the
+ * appropriate variables.
+ */
+
+#else
+
+#ifndef CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT
+#define CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT POSIX_Init
#endif
#ifdef CONFIGURE_INIT
-posix_initialization_tasks_table POSIX_Initialization_tasks[] = {
- { CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT }
+posix_initialization_threads_table POSIX_Initialization_threads[] = {
+ { CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT }
};
#endif
-#define CONFIGURE_POSIX_INIT_TASK_TABLE POSIX_Initialization_tasks
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME POSIX_Initialization_threads
-#define CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE \
- sizeof(CONFIGURE_POSIX_INIT_TASK_TABLE) / \
- sizeof(posix_initialization_tasks_table)
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE \
+ sizeof(CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME) / \
+ sizeof(posix_initialization_threads_table)
#endif /* CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE */
+#else /* CONFIGURE_POSIX_INIT_THREAD_TABLE */
+
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME NULL
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE 0
+
+#endif
+
#endif /* RTEMS_POSIX_API */
/*
@@ -412,8 +444,8 @@ posix_api_configuration_table Configuration_POSIX_API = {
CONFIGURE_MAXIMUM_POSIX_MUTEXES,
CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES,
CONFIGURE_MAXIMUM_POSIX_KEYS,
- CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE,
- CONFIGURE_POSIX_INIT_TASK_TABLE
+ CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE,
+ CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME
};
#endif
diff --git a/c/src/tests/libtests/stackchk/system.h b/c/src/tests/libtests/stackchk/system.h
index 56a8e9526a..425d028d3c 100644
--- a/c/src/tests/libtests/stackchk/system.h
+++ b/c/src/tests/libtests/stackchk/system.h
@@ -39,6 +39,8 @@ void blow_stack( void );
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/mptests/mp01/system.h b/c/src/tests/mptests/mp01/system.h
index 54e0134a7d..4f3752e4c5 100644
--- a/c/src/tests/mptests/mp01/system.h
+++ b/c/src/tests/mptests/mp01/system.h
@@ -33,6 +33,7 @@ rtems_task Test_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_GLOBAL
#include <confdefs.h>
diff --git a/c/src/tests/mptests/mp02/system.h b/c/src/tests/mptests/mp02/system.h
index 8e2e95806d..6e362ee042 100644
--- a/c/src/tests/mptests/mp02/system.h
+++ b/c/src/tests/mptests/mp02/system.h
@@ -33,6 +33,8 @@ rtems_task Test_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/c/src/tests/mptests/mp03/system.h b/c/src/tests/mptests/mp03/system.h
index 39ba36ede3..922837c81f 100644
--- a/c/src/tests/mptests/mp03/system.h
+++ b/c/src/tests/mptests/mp03/system.h
@@ -40,6 +40,8 @@ rtems_timer_service_routine Delayed_send_event(
#define CONFIGURE_MAXIMUM_TIMERS 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/c/src/tests/mptests/mp04/system.h b/c/src/tests/mptests/mp04/system.h
index f67d16fe53..0641700b15 100644
--- a/c/src/tests/mptests/mp04/system.h
+++ b/c/src/tests/mptests/mp04/system.h
@@ -35,6 +35,8 @@ rtems_task Test_task(
#define CONFIGURE_MAXIMUM_TIMERS 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/c/src/tests/mptests/mp05/system.h b/c/src/tests/mptests/mp05/system.h
index 2ebc8b47b5..7d3c4af4fb 100644
--- a/c/src/tests/mptests/mp05/system.h
+++ b/c/src/tests/mptests/mp05/system.h
@@ -37,6 +37,8 @@ rtems_asr Process_asr( rtems_signal_set );
#define CONFIGURE_MAXIMUM_TIMERS 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/c/src/tests/mptests/mp06/system.h b/c/src/tests/mptests/mp06/system.h
index a7c0048cdd..139df638a4 100644
--- a/c/src/tests/mptests/mp06/system.h
+++ b/c/src/tests/mptests/mp06/system.h
@@ -35,6 +35,8 @@ rtems_task Test_task(
#define CONFIGURE_MAXIMUM_TIMERS 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/c/src/tests/mptests/mp07/system.h b/c/src/tests/mptests/mp07/system.h
index a7c0048cdd..139df638a4 100644
--- a/c/src/tests/mptests/mp07/system.h
+++ b/c/src/tests/mptests/mp07/system.h
@@ -35,6 +35,8 @@ rtems_task Test_task(
#define CONFIGURE_MAXIMUM_TIMERS 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/c/src/tests/mptests/mp08/system.h b/c/src/tests/mptests/mp08/system.h
index 42a2287af5..9aa6f44af0 100644
--- a/c/src/tests/mptests/mp08/system.h
+++ b/c/src/tests/mptests/mp08/system.h
@@ -36,6 +36,8 @@ rtems_task Test_task(
#define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/c/src/tests/mptests/mp09/system.h b/c/src/tests/mptests/mp09/system.h
index 3060262e8e..bc2cabc0a9 100644
--- a/c/src/tests/mptests/mp09/system.h
+++ b/c/src/tests/mptests/mp09/system.h
@@ -40,6 +40,8 @@ void Send_messages( void );
#define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/c/src/tests/mptests/mp10/system.h b/c/src/tests/mptests/mp10/system.h
index 2c6d54d6a8..7f068d252c 100644
--- a/c/src/tests/mptests/mp10/system.h
+++ b/c/src/tests/mptests/mp10/system.h
@@ -46,6 +46,8 @@ rtems_task Test_task3(
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
#endif
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/c/src/tests/mptests/mp11/system.h b/c/src/tests/mptests/mp11/system.h
index 39ab88e08c..7066b8ff93 100644
--- a/c/src/tests/mptests/mp11/system.h
+++ b/c/src/tests/mptests/mp11/system.h
@@ -38,6 +38,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_PARTITIONS 1
#endif
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/c/src/tests/mptests/mp12/system.h b/c/src/tests/mptests/mp12/system.h
index c743c4a415..941872a58c 100644
--- a/c/src/tests/mptests/mp12/system.h
+++ b/c/src/tests/mptests/mp12/system.h
@@ -40,6 +40,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_PARTITIONS 2
#endif
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/c/src/tests/mptests/mp13/system.h b/c/src/tests/mptests/mp13/system.h
index c3b0924a18..0b7ab19957 100644
--- a/c/src/tests/mptests/mp13/system.h
+++ b/c/src/tests/mptests/mp13/system.h
@@ -42,6 +42,8 @@ rtems_task Test_task2(
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
#endif
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/c/src/tests/mptests/mp14/system.h b/c/src/tests/mptests/mp14/system.h
index 051727e854..9bffb51b47 100644
--- a/c/src/tests/mptests/mp14/system.h
+++ b/c/src/tests/mptests/mp14/system.h
@@ -68,6 +68,8 @@ void Exit_test( void );
#define CONFIGURE_MAXIMUM_TIMERS 2
#endif
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/c/src/tests/psxtests/psx01/init.c b/c/src/tests/psxtests/psx01/init.c
index 3469f3f7b4..7f24bf6319 100644
--- a/c/src/tests/psxtests/psx01/init.c
+++ b/c/src/tests/psxtests/psx01/init.c
@@ -25,7 +25,7 @@
#define CONFIGURE_INIT
#include "system.h"
-void *Init(
+void *POSIX_Init(
void *argument
)
{
diff --git a/c/src/tests/psxtests/psx01/system.h b/c/src/tests/psxtests/psx01/system.h
index 0868489f9a..1c28c02d8a 100644
--- a/c/src/tests/psxtests/psx01/system.h
+++ b/c/src/tests/psxtests/psx01/system.h
@@ -21,7 +21,7 @@
#include <assert.h>
#include <stdio.h>
-void *Init(
+void *POSIX_Init(
void *argument
);
@@ -36,9 +36,7 @@ void *Task_1_through_3(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
-#define CONFIGURE_HAS_OWN_INIT_TASK_TABLE
-#define CONFIGURE_INIT_TASK_TABLE_SIZE 0
-#define CONFIGURE_INIT_TASK_TABLE NULL
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE
#include <confdefs.h>
diff --git a/c/src/tests/samples/base_mp/system.h b/c/src/tests/samples/base_mp/system.h
index ec07193b72..2051acad37 100644
--- a/c/src/tests/samples/base_mp/system.h
+++ b/c/src/tests/samples/base_mp/system.h
@@ -33,6 +33,8 @@ rtems_task Application_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
/*
* Put the overrides of default configuration parameters here.
*/
diff --git a/c/src/tests/samples/base_sp/system.h b/c/src/tests/samples/base_sp/system.h
index 172ced543d..7a5fba9af5 100644
--- a/c/src/tests/samples/base_sp/system.h
+++ b/c/src/tests/samples/base_sp/system.h
@@ -33,6 +33,8 @@ rtems_task Application_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/samples/cdtest/system.h b/c/src/tests/samples/cdtest/system.h
index 2400478ed9..5219a5c12d 100644
--- a/c/src/tests/samples/cdtest/system.h
+++ b/c/src/tests/samples/cdtest/system.h
@@ -29,6 +29,7 @@ rtems_task main_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_ENTRY_POINT main_task
#define CONFIGURE_INIT_TASK_NAME rtems_build_name( 'C', 'T', 'O', 'R' )
diff --git a/c/src/tests/samples/hello/system.h b/c/src/tests/samples/hello/system.h
index 8af4376e0f..21987c70e5 100644
--- a/c/src/tests/samples/hello/system.h
+++ b/c/src/tests/samples/hello/system.h
@@ -26,6 +26,8 @@ rtems_task Init(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/samples/paranoia/system.h b/c/src/tests/samples/paranoia/system.h
index 3837d9d902..83c68ccff8 100644
--- a/c/src/tests/samples/paranoia/system.h
+++ b/c/src/tests/samples/paranoia/system.h
@@ -27,10 +27,10 @@ rtems_task Init(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
#define CONFIGURE_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2)
-
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/samples/ticker/system.h b/c/src/tests/samples/ticker/system.h
index 51a9c082df..391b30b9d5 100644
--- a/c/src/tests/samples/ticker/system.h
+++ b/c/src/tests/samples/ticker/system.h
@@ -33,6 +33,8 @@ rtems_task Test_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp01/system.h b/c/src/tests/sptests/sp01/system.h
index 08e71c4bb8..c5e52fd082 100644
--- a/c/src/tests/sptests/sp01/system.h
+++ b/c/src/tests/sptests/sp01/system.h
@@ -33,6 +33,8 @@ rtems_task Task_1_through_3(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp02/system.h b/c/src/tests/sptests/sp02/system.h
index 95cae6c0e2..fcda60e410 100644
--- a/c/src/tests/sptests/sp02/system.h
+++ b/c/src/tests/sptests/sp02/system.h
@@ -45,6 +45,8 @@ rtems_task Task_3(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp03/system.h b/c/src/tests/sptests/sp03/system.h
index d83cb3f510..c8344410bd 100644
--- a/c/src/tests/sptests/sp03/system.h
+++ b/c/src/tests/sptests/sp03/system.h
@@ -37,6 +37,8 @@ rtems_task Task_2(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp04/system.h b/c/src/tests/sptests/sp04/system.h
index 27e716a701..f9b509f548 100644
--- a/c/src/tests/sptests/sp04/system.h
+++ b/c/src/tests/sptests/sp04/system.h
@@ -49,6 +49,8 @@ void Task_switch(
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp05/system.h b/c/src/tests/sptests/sp05/system.h
index 8f8cd58a30..2411dc500a 100644
--- a/c/src/tests/sptests/sp05/system.h
+++ b/c/src/tests/sptests/sp05/system.h
@@ -43,6 +43,8 @@ rtems_task Task_3(
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp06/system.h b/c/src/tests/sptests/sp06/system.h
index aa75d36f06..067d7c10ec 100644
--- a/c/src/tests/sptests/sp06/system.h
+++ b/c/src/tests/sptests/sp06/system.h
@@ -43,6 +43,8 @@ rtems_task Task_3(
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp07/system.h b/c/src/tests/sptests/sp07/system.h
index 3bd1ee69b5..8fc55aa29b 100644
--- a/c/src/tests/sptests/sp07/system.h
+++ b/c/src/tests/sptests/sp07/system.h
@@ -72,6 +72,8 @@ rtems_extension Task_exit_extension(
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp08/system.h b/c/src/tests/sptests/sp08/system.h
index 85cb0c7dcd..39977ddb2e 100644
--- a/c/src/tests/sptests/sp08/system.h
+++ b/c/src/tests/sptests/sp08/system.h
@@ -38,6 +38,8 @@ rtems_task Task_1(
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp09/system.h b/c/src/tests/sptests/sp09/system.h
index f688cf729a..276ed7f95b 100644
--- a/c/src/tests/sptests/sp09/system.h
+++ b/c/src/tests/sptests/sp09/system.h
@@ -95,6 +95,8 @@ void Screen14( void );
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 0
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp11/system.h b/c/src/tests/sptests/sp11/system.h
index 983ed077b5..78e9b347e4 100644
--- a/c/src/tests/sptests/sp11/system.h
+++ b/c/src/tests/sptests/sp11/system.h
@@ -75,6 +75,8 @@ rtems_timer_service_routine TA2_send_10_to_self(
#define CONFIGURE_MAXIMUM_TIMERS 6
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp12/system.h b/c/src/tests/sptests/sp12/system.h
index 81af1abbd9..20e691bc71 100644
--- a/c/src/tests/sptests/sp12/system.h
+++ b/c/src/tests/sptests/sp12/system.h
@@ -61,6 +61,8 @@ rtems_task Task5(
#define CONFIGURE_MAXIMUM_SEMAPHORES 10
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp13/system.h b/c/src/tests/sptests/sp13/system.h
index cb4b81bb63..368397efce 100644
--- a/c/src/tests/sptests/sp13/system.h
+++ b/c/src/tests/sptests/sp13/system.h
@@ -53,6 +53,8 @@ rtems_task Task_3(
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 10
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp14/system.h b/c/src/tests/sptests/sp14/system.h
index 7193f893f2..8cf6ae7bae 100644
--- a/c/src/tests/sptests/sp14/system.h
+++ b/c/src/tests/sptests/sp14/system.h
@@ -49,6 +49,8 @@ rtems_task Task_2(
#define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp15/system.h b/c/src/tests/sptests/sp15/system.h
index c06714e3fc..9290b40694 100644
--- a/c/src/tests/sptests/sp15/system.h
+++ b/c/src/tests/sptests/sp15/system.h
@@ -36,6 +36,8 @@ rtems_task Task_1(
#define CONFIGURE_MAXIMUM_PARTITIONS 2
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp16/system.h b/c/src/tests/sptests/sp16/system.h
index f28780be08..1eddd5277e 100644
--- a/c/src/tests/sptests/sp16/system.h
+++ b/c/src/tests/sptests/sp16/system.h
@@ -52,6 +52,8 @@ rtems_task Task5(
#define CONFIGURE_MAXIMUM_REGIONS 4
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp17/system.h b/c/src/tests/sptests/sp17/system.h
index e95b27635b..e016aa93d2 100644
--- a/c/src/tests/sptests/sp17/system.h
+++ b/c/src/tests/sptests/sp17/system.h
@@ -44,6 +44,8 @@ rtems_task Task_2(
#define CONFIGURE_MICROSECONDS_PER_TICK RTEMS_MILLISECONDS_TO_MICROSECONDS(25)
#define CONFIGURE_TICKS_PER_TIMESLICE 1000
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp19/system.h b/c/src/tests/sptests/sp19/system.h
index 6052075250..8d520ef64d 100644
--- a/c/src/tests/sptests/sp19/system.h
+++ b/c/src/tests/sptests/sp19/system.h
@@ -43,6 +43,8 @@ rtems_task Task_1(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp20/system.h b/c/src/tests/sptests/sp20/system.h
index ddd68c336e..0744e58887 100644
--- a/c/src/tests/sptests/sp20/system.h
+++ b/c/src/tests/sptests/sp20/system.h
@@ -45,6 +45,8 @@ void Get_all_counters( void );
#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES
#define CONFIGURE_MAXIMUM_PERIODS 10
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp21/system.h b/c/src/tests/sptests/sp21/system.h
index 9c68c795b4..276e57d642 100644
--- a/c/src/tests/sptests/sp21/system.h
+++ b/c/src/tests/sptests/sp21/system.h
@@ -34,6 +34,8 @@ rtems_task Task_1(
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_TEST_NEEDS_STUB_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp22/system.h b/c/src/tests/sptests/sp22/system.h
index c7d0636ba3..f19e5eec24 100644
--- a/c/src/tests/sptests/sp22/system.h
+++ b/c/src/tests/sptests/sp22/system.h
@@ -42,6 +42,8 @@ rtems_task Task_1(
#define CONFIGURE_MAXIMUM_TIMERS 2
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp23/system.h b/c/src/tests/sptests/sp23/system.h
index 5a2ad3ff4e..206704704d 100644
--- a/c/src/tests/sptests/sp23/system.h
+++ b/c/src/tests/sptests/sp23/system.h
@@ -35,6 +35,8 @@ rtems_task Task_1(
#define CONFIGURE_MAXIMUM_PORTS 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp24/system.h b/c/src/tests/sptests/sp24/system.h
index b54beb7add..265d0c1264 100644
--- a/c/src/tests/sptests/sp24/system.h
+++ b/c/src/tests/sptests/sp24/system.h
@@ -40,6 +40,8 @@ rtems_task Task_1_through_3(
#define CONFIGURE_MAXIMUM_TIMERS 3
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/sp25/system.h b/c/src/tests/sptests/sp25/system.h
index dfcee7551b..6f7ec4de99 100644
--- a/c/src/tests/sptests/sp25/system.h
+++ b/c/src/tests/sptests/sp25/system.h
@@ -35,6 +35,8 @@ rtems_task Task_1(
#define CONFIGURE_MAXIMUM_REGIONS 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/spfatal/system.h b/c/src/tests/sptests/spfatal/system.h
index 71e4f5720c..54c68438cc 100644
--- a/c/src/tests/sptests/spfatal/system.h
+++ b/c/src/tests/sptests/spfatal/system.h
@@ -64,6 +64,8 @@ rtems_extensions_table initial_extensions = {
#define CONFIGURE_INITIAL_EXTENSIONS &initial_extensions
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/sptests/spsize/system.h b/c/src/tests/sptests/spsize/system.h
index f55ddf99aa..331f99b96e 100644
--- a/c/src/tests/sptests/spsize/system.h
+++ b/c/src/tests/sptests/spsize/system.h
@@ -35,6 +35,8 @@ int getint( void );
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/c/src/tests/tmtests/tm01/system.h b/c/src/tests/tmtests/tm01/system.h
index 190361f77c..a45ebf0af1 100644
--- a/c/src/tests/tmtests/tm01/system.h
+++ b/c/src/tests/tmtests/tm01/system.h
@@ -36,6 +36,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
#define CONFIGURE_TICKS_PER_TIMESLICE 0
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* end of include file */
diff --git a/c/src/tests/tmtests/tm02/system.h b/c/src/tests/tmtests/tm02/system.h
index 994d733f4a..cf16619bc7 100644
--- a/c/src/tests/tmtests/tm02/system.h
+++ b/c/src/tests/tmtests/tm02/system.h
@@ -37,6 +37,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_SEMAPHORES 101
#define CONFIGURE_TICKS_PER_TIMESLICE 0
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* end of include file */
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 700c4eb7a4..13529eef05 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -27,7 +27,7 @@ extern rtems_driver_address_table Device_drivers[];
extern rtems_configuration_table Configuration;
extern rtems_multiprocessing_table Multiprocessing_configuration;
#ifdef RTEMS_POSIX_API
-extern posix_api_configuration_table Configuration_POSIX_API;
+extern posix_api_configuration_table Configuration_POSIX_API;
#endif
/*
@@ -35,7 +35,16 @@ extern posix_api_configuration_table Configuration_POSIX_API;
* one user initialization table is defined.
*/
-#ifndef CONFIGURE_HAS_OWN_INIT_TASK_TABLE
+#ifdef CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#ifdef CONFIGURE_HAS_OWN_INIT_TASK_TABLE
+
+/*
+ * The user is defining their own table information and setting the
+ * appropriate variables.
+ */
+
+#else
#ifndef CONFIGURE_INIT_TASK_NAME
#define CONFIGURE_INIT_TASK_NAME rtems_build_name( 'U', 'I', '1', ' ' )
@@ -83,6 +92,13 @@ rtems_initialization_tasks_table Initialization_tasks[] = {
#define CONFIGURE_INIT_TASK_TABLE_SIZE \
sizeof(CONFIGURE_INIT_TASK_TABLE) / sizeof(rtems_initialization_tasks_table)
+#endif /* CONFIGURE_HAS_OWN_INIT_TASK_TABLE */
+
+#else /* CONFIGURE_RTEMS_INIT_TASKS_TABLE */
+
+#define CONFIGURE_INIT_TASK_TABLE NULL
+#define CONFIGURE_INIT_TASK_TABLE_SIZE 0
+
#endif
/*
@@ -265,26 +281,42 @@ rtems_multiprocessing_table Multiprocessing_configuration = {
#define CONFIGURE_MAXIMUM_POSIX_KEYS 0
#endif
-#ifndef CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE
+#ifdef CONFIGURE_POSIX_INIT_THREAD_TABLE
+
+#ifdef CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE
-#ifndef CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT
-#define CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT Init
+/*
+ * The user is defining their own table information and setting the
+ * appropriate variables.
+ */
+
+#else
+
+#ifndef CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT
+#define CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT POSIX_Init
#endif
#ifdef CONFIGURE_INIT
-posix_initialization_tasks_table POSIX_Initialization_tasks[] = {
- { CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT }
+posix_initialization_threads_table POSIX_Initialization_threads[] = {
+ { CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT }
};
#endif
-#define CONFIGURE_POSIX_INIT_TASK_TABLE POSIX_Initialization_tasks
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME POSIX_Initialization_threads
-#define CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE \
- sizeof(CONFIGURE_POSIX_INIT_TASK_TABLE) / \
- sizeof(posix_initialization_tasks_table)
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE \
+ sizeof(CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME) / \
+ sizeof(posix_initialization_threads_table)
#endif /* CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE */
+#else /* CONFIGURE_POSIX_INIT_THREAD_TABLE */
+
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME NULL
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE 0
+
+#endif
+
#endif /* RTEMS_POSIX_API */
/*
@@ -412,8 +444,8 @@ posix_api_configuration_table Configuration_POSIX_API = {
CONFIGURE_MAXIMUM_POSIX_MUTEXES,
CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES,
CONFIGURE_MAXIMUM_POSIX_KEYS,
- CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE,
- CONFIGURE_POSIX_INIT_TASK_TABLE
+ CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE,
+ CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME
};
#endif
diff --git a/testsuites/libtests/stackchk/system.h b/testsuites/libtests/stackchk/system.h
index 56a8e9526a..425d028d3c 100644
--- a/testsuites/libtests/stackchk/system.h
+++ b/testsuites/libtests/stackchk/system.h
@@ -39,6 +39,8 @@ void blow_stack( void );
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/mptests/mp01/system.h b/testsuites/mptests/mp01/system.h
index 54e0134a7d..4f3752e4c5 100644
--- a/testsuites/mptests/mp01/system.h
+++ b/testsuites/mptests/mp01/system.h
@@ -33,6 +33,7 @@ rtems_task Test_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_GLOBAL
#include <confdefs.h>
diff --git a/testsuites/mptests/mp02/system.h b/testsuites/mptests/mp02/system.h
index 8e2e95806d..6e362ee042 100644
--- a/testsuites/mptests/mp02/system.h
+++ b/testsuites/mptests/mp02/system.h
@@ -33,6 +33,8 @@ rtems_task Test_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/testsuites/mptests/mp03/system.h b/testsuites/mptests/mp03/system.h
index 39ba36ede3..922837c81f 100644
--- a/testsuites/mptests/mp03/system.h
+++ b/testsuites/mptests/mp03/system.h
@@ -40,6 +40,8 @@ rtems_timer_service_routine Delayed_send_event(
#define CONFIGURE_MAXIMUM_TIMERS 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/testsuites/mptests/mp04/system.h b/testsuites/mptests/mp04/system.h
index f67d16fe53..0641700b15 100644
--- a/testsuites/mptests/mp04/system.h
+++ b/testsuites/mptests/mp04/system.h
@@ -35,6 +35,8 @@ rtems_task Test_task(
#define CONFIGURE_MAXIMUM_TIMERS 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/testsuites/mptests/mp05/system.h b/testsuites/mptests/mp05/system.h
index 2ebc8b47b5..7d3c4af4fb 100644
--- a/testsuites/mptests/mp05/system.h
+++ b/testsuites/mptests/mp05/system.h
@@ -37,6 +37,8 @@ rtems_asr Process_asr( rtems_signal_set );
#define CONFIGURE_MAXIMUM_TIMERS 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/testsuites/mptests/mp06/system.h b/testsuites/mptests/mp06/system.h
index a7c0048cdd..139df638a4 100644
--- a/testsuites/mptests/mp06/system.h
+++ b/testsuites/mptests/mp06/system.h
@@ -35,6 +35,8 @@ rtems_task Test_task(
#define CONFIGURE_MAXIMUM_TIMERS 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/testsuites/mptests/mp07/system.h b/testsuites/mptests/mp07/system.h
index a7c0048cdd..139df638a4 100644
--- a/testsuites/mptests/mp07/system.h
+++ b/testsuites/mptests/mp07/system.h
@@ -35,6 +35,8 @@ rtems_task Test_task(
#define CONFIGURE_MAXIMUM_TIMERS 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/testsuites/mptests/mp08/system.h b/testsuites/mptests/mp08/system.h
index 42a2287af5..9aa6f44af0 100644
--- a/testsuites/mptests/mp08/system.h
+++ b/testsuites/mptests/mp08/system.h
@@ -36,6 +36,8 @@ rtems_task Test_task(
#define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/testsuites/mptests/mp09/system.h b/testsuites/mptests/mp09/system.h
index 3060262e8e..bc2cabc0a9 100644
--- a/testsuites/mptests/mp09/system.h
+++ b/testsuites/mptests/mp09/system.h
@@ -40,6 +40,8 @@ void Send_messages( void );
#define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/testsuites/mptests/mp10/system.h b/testsuites/mptests/mp10/system.h
index 2c6d54d6a8..7f068d252c 100644
--- a/testsuites/mptests/mp10/system.h
+++ b/testsuites/mptests/mp10/system.h
@@ -46,6 +46,8 @@ rtems_task Test_task3(
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
#endif
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/testsuites/mptests/mp11/system.h b/testsuites/mptests/mp11/system.h
index 39ab88e08c..7066b8ff93 100644
--- a/testsuites/mptests/mp11/system.h
+++ b/testsuites/mptests/mp11/system.h
@@ -38,6 +38,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_PARTITIONS 1
#endif
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/testsuites/mptests/mp12/system.h b/testsuites/mptests/mp12/system.h
index c743c4a415..941872a58c 100644
--- a/testsuites/mptests/mp12/system.h
+++ b/testsuites/mptests/mp12/system.h
@@ -40,6 +40,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_PARTITIONS 2
#endif
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/testsuites/mptests/mp13/system.h b/testsuites/mptests/mp13/system.h
index c3b0924a18..0b7ab19957 100644
--- a/testsuites/mptests/mp13/system.h
+++ b/testsuites/mptests/mp13/system.h
@@ -42,6 +42,8 @@ rtems_task Test_task2(
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
#endif
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/testsuites/mptests/mp14/system.h b/testsuites/mptests/mp14/system.h
index 051727e854..9bffb51b47 100644
--- a/testsuites/mptests/mp14/system.h
+++ b/testsuites/mptests/mp14/system.h
@@ -68,6 +68,8 @@ void Exit_test( void );
#define CONFIGURE_MAXIMUM_TIMERS 2
#endif
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* variables */
diff --git a/testsuites/psxtests/psx01/init.c b/testsuites/psxtests/psx01/init.c
index 3469f3f7b4..7f24bf6319 100644
--- a/testsuites/psxtests/psx01/init.c
+++ b/testsuites/psxtests/psx01/init.c
@@ -25,7 +25,7 @@
#define CONFIGURE_INIT
#include "system.h"
-void *Init(
+void *POSIX_Init(
void *argument
)
{
diff --git a/testsuites/psxtests/psx01/system.h b/testsuites/psxtests/psx01/system.h
index 0868489f9a..1c28c02d8a 100644
--- a/testsuites/psxtests/psx01/system.h
+++ b/testsuites/psxtests/psx01/system.h
@@ -21,7 +21,7 @@
#include <assert.h>
#include <stdio.h>
-void *Init(
+void *POSIX_Init(
void *argument
);
@@ -36,9 +36,7 @@ void *Task_1_through_3(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
-#define CONFIGURE_HAS_OWN_INIT_TASK_TABLE
-#define CONFIGURE_INIT_TASK_TABLE_SIZE 0
-#define CONFIGURE_INIT_TASK_TABLE NULL
+#define CONFIGURE_POSIX_INIT_THREAD_TABLE
#include <confdefs.h>
diff --git a/testsuites/samples/base_mp/system.h b/testsuites/samples/base_mp/system.h
index ec07193b72..2051acad37 100644
--- a/testsuites/samples/base_mp/system.h
+++ b/testsuites/samples/base_mp/system.h
@@ -33,6 +33,8 @@ rtems_task Application_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
/*
* Put the overrides of default configuration parameters here.
*/
diff --git a/testsuites/samples/base_sp/system.h b/testsuites/samples/base_sp/system.h
index 172ced543d..7a5fba9af5 100644
--- a/testsuites/samples/base_sp/system.h
+++ b/testsuites/samples/base_sp/system.h
@@ -33,6 +33,8 @@ rtems_task Application_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/samples/cdtest/system.h b/testsuites/samples/cdtest/system.h
index 2400478ed9..5219a5c12d 100644
--- a/testsuites/samples/cdtest/system.h
+++ b/testsuites/samples/cdtest/system.h
@@ -29,6 +29,7 @@ rtems_task main_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_ENTRY_POINT main_task
#define CONFIGURE_INIT_TASK_NAME rtems_build_name( 'C', 'T', 'O', 'R' )
diff --git a/testsuites/samples/hello/system.h b/testsuites/samples/hello/system.h
index 8af4376e0f..21987c70e5 100644
--- a/testsuites/samples/hello/system.h
+++ b/testsuites/samples/hello/system.h
@@ -26,6 +26,8 @@ rtems_task Init(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/samples/paranoia/system.h b/testsuites/samples/paranoia/system.h
index 3837d9d902..83c68ccff8 100644
--- a/testsuites/samples/paranoia/system.h
+++ b/testsuites/samples/paranoia/system.h
@@ -27,10 +27,10 @@ rtems_task Init(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
#define CONFIGURE_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2)
-
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/samples/ticker/system.h b/testsuites/samples/ticker/system.h
index 51a9c082df..391b30b9d5 100644
--- a/testsuites/samples/ticker/system.h
+++ b/testsuites/samples/ticker/system.h
@@ -33,6 +33,8 @@ rtems_task Test_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp01/system.h b/testsuites/sptests/sp01/system.h
index 08e71c4bb8..c5e52fd082 100644
--- a/testsuites/sptests/sp01/system.h
+++ b/testsuites/sptests/sp01/system.h
@@ -33,6 +33,8 @@ rtems_task Task_1_through_3(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp02/system.h b/testsuites/sptests/sp02/system.h
index 95cae6c0e2..fcda60e410 100644
--- a/testsuites/sptests/sp02/system.h
+++ b/testsuites/sptests/sp02/system.h
@@ -45,6 +45,8 @@ rtems_task Task_3(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp03/system.h b/testsuites/sptests/sp03/system.h
index d83cb3f510..c8344410bd 100644
--- a/testsuites/sptests/sp03/system.h
+++ b/testsuites/sptests/sp03/system.h
@@ -37,6 +37,8 @@ rtems_task Task_2(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp04/system.h b/testsuites/sptests/sp04/system.h
index 27e716a701..f9b509f548 100644
--- a/testsuites/sptests/sp04/system.h
+++ b/testsuites/sptests/sp04/system.h
@@ -49,6 +49,8 @@ void Task_switch(
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp05/system.h b/testsuites/sptests/sp05/system.h
index 8f8cd58a30..2411dc500a 100644
--- a/testsuites/sptests/sp05/system.h
+++ b/testsuites/sptests/sp05/system.h
@@ -43,6 +43,8 @@ rtems_task Task_3(
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp06/system.h b/testsuites/sptests/sp06/system.h
index aa75d36f06..067d7c10ec 100644
--- a/testsuites/sptests/sp06/system.h
+++ b/testsuites/sptests/sp06/system.h
@@ -43,6 +43,8 @@ rtems_task Task_3(
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp07/system.h b/testsuites/sptests/sp07/system.h
index 3bd1ee69b5..8fc55aa29b 100644
--- a/testsuites/sptests/sp07/system.h
+++ b/testsuites/sptests/sp07/system.h
@@ -72,6 +72,8 @@ rtems_extension Task_exit_extension(
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp08/system.h b/testsuites/sptests/sp08/system.h
index 85cb0c7dcd..39977ddb2e 100644
--- a/testsuites/sptests/sp08/system.h
+++ b/testsuites/sptests/sp08/system.h
@@ -38,6 +38,8 @@ rtems_task Task_1(
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp09/system.h b/testsuites/sptests/sp09/system.h
index f688cf729a..276ed7f95b 100644
--- a/testsuites/sptests/sp09/system.h
+++ b/testsuites/sptests/sp09/system.h
@@ -95,6 +95,8 @@ void Screen14( void );
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 0
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp11/system.h b/testsuites/sptests/sp11/system.h
index 983ed077b5..78e9b347e4 100644
--- a/testsuites/sptests/sp11/system.h
+++ b/testsuites/sptests/sp11/system.h
@@ -75,6 +75,8 @@ rtems_timer_service_routine TA2_send_10_to_self(
#define CONFIGURE_MAXIMUM_TIMERS 6
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp12/system.h b/testsuites/sptests/sp12/system.h
index 81af1abbd9..20e691bc71 100644
--- a/testsuites/sptests/sp12/system.h
+++ b/testsuites/sptests/sp12/system.h
@@ -61,6 +61,8 @@ rtems_task Task5(
#define CONFIGURE_MAXIMUM_SEMAPHORES 10
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp13/system.h b/testsuites/sptests/sp13/system.h
index cb4b81bb63..368397efce 100644
--- a/testsuites/sptests/sp13/system.h
+++ b/testsuites/sptests/sp13/system.h
@@ -53,6 +53,8 @@ rtems_task Task_3(
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 10
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp14/system.h b/testsuites/sptests/sp14/system.h
index 7193f893f2..8cf6ae7bae 100644
--- a/testsuites/sptests/sp14/system.h
+++ b/testsuites/sptests/sp14/system.h
@@ -49,6 +49,8 @@ rtems_task Task_2(
#define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp15/system.h b/testsuites/sptests/sp15/system.h
index c06714e3fc..9290b40694 100644
--- a/testsuites/sptests/sp15/system.h
+++ b/testsuites/sptests/sp15/system.h
@@ -36,6 +36,8 @@ rtems_task Task_1(
#define CONFIGURE_MAXIMUM_PARTITIONS 2
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp16/system.h b/testsuites/sptests/sp16/system.h
index f28780be08..1eddd5277e 100644
--- a/testsuites/sptests/sp16/system.h
+++ b/testsuites/sptests/sp16/system.h
@@ -52,6 +52,8 @@ rtems_task Task5(
#define CONFIGURE_MAXIMUM_REGIONS 4
#define CONFIGURE_TICKS_PER_TIMESLICE 100
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp17/system.h b/testsuites/sptests/sp17/system.h
index e95b27635b..e016aa93d2 100644
--- a/testsuites/sptests/sp17/system.h
+++ b/testsuites/sptests/sp17/system.h
@@ -44,6 +44,8 @@ rtems_task Task_2(
#define CONFIGURE_MICROSECONDS_PER_TICK RTEMS_MILLISECONDS_TO_MICROSECONDS(25)
#define CONFIGURE_TICKS_PER_TIMESLICE 1000
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp19/system.h b/testsuites/sptests/sp19/system.h
index 6052075250..8d520ef64d 100644
--- a/testsuites/sptests/sp19/system.h
+++ b/testsuites/sptests/sp19/system.h
@@ -43,6 +43,8 @@ rtems_task Task_1(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp20/system.h b/testsuites/sptests/sp20/system.h
index ddd68c336e..0744e58887 100644
--- a/testsuites/sptests/sp20/system.h
+++ b/testsuites/sptests/sp20/system.h
@@ -45,6 +45,8 @@ void Get_all_counters( void );
#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES
#define CONFIGURE_MAXIMUM_PERIODS 10
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp21/system.h b/testsuites/sptests/sp21/system.h
index 9c68c795b4..276e57d642 100644
--- a/testsuites/sptests/sp21/system.h
+++ b/testsuites/sptests/sp21/system.h
@@ -34,6 +34,8 @@ rtems_task Task_1(
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_TEST_NEEDS_STUB_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp22/system.h b/testsuites/sptests/sp22/system.h
index c7d0636ba3..f19e5eec24 100644
--- a/testsuites/sptests/sp22/system.h
+++ b/testsuites/sptests/sp22/system.h
@@ -42,6 +42,8 @@ rtems_task Task_1(
#define CONFIGURE_MAXIMUM_TIMERS 2
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp23/system.h b/testsuites/sptests/sp23/system.h
index 5a2ad3ff4e..206704704d 100644
--- a/testsuites/sptests/sp23/system.h
+++ b/testsuites/sptests/sp23/system.h
@@ -35,6 +35,8 @@ rtems_task Task_1(
#define CONFIGURE_MAXIMUM_PORTS 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp24/system.h b/testsuites/sptests/sp24/system.h
index b54beb7add..265d0c1264 100644
--- a/testsuites/sptests/sp24/system.h
+++ b/testsuites/sptests/sp24/system.h
@@ -40,6 +40,8 @@ rtems_task Task_1_through_3(
#define CONFIGURE_MAXIMUM_TIMERS 3
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/sp25/system.h b/testsuites/sptests/sp25/system.h
index dfcee7551b..6f7ec4de99 100644
--- a/testsuites/sptests/sp25/system.h
+++ b/testsuites/sptests/sp25/system.h
@@ -35,6 +35,8 @@ rtems_task Task_1(
#define CONFIGURE_MAXIMUM_REGIONS 1
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/spfatal/system.h b/testsuites/sptests/spfatal/system.h
index 71e4f5720c..54c68438cc 100644
--- a/testsuites/sptests/spfatal/system.h
+++ b/testsuites/sptests/spfatal/system.h
@@ -64,6 +64,8 @@ rtems_extensions_table initial_extensions = {
#define CONFIGURE_INITIAL_EXTENSIONS &initial_extensions
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/sptests/spsize/system.h b/testsuites/sptests/spsize/system.h
index f55ddf99aa..331f99b96e 100644
--- a/testsuites/sptests/spsize/system.h
+++ b/testsuites/sptests/spsize/system.h
@@ -35,6 +35,8 @@ int getint( void );
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* global variables */
diff --git a/testsuites/tmtests/tm01/system.h b/testsuites/tmtests/tm01/system.h
index 190361f77c..a45ebf0af1 100644
--- a/testsuites/tmtests/tm01/system.h
+++ b/testsuites/tmtests/tm01/system.h
@@ -36,6 +36,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
#define CONFIGURE_TICKS_PER_TIMESLICE 0
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* end of include file */
diff --git a/testsuites/tmtests/tm02/system.h b/testsuites/tmtests/tm02/system.h
index 994d733f4a..cf16619bc7 100644
--- a/testsuites/tmtests/tm02/system.h
+++ b/testsuites/tmtests/tm02/system.h
@@ -37,6 +37,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_SEMAPHORES 101
#define CONFIGURE_TICKS_PER_TIMESLICE 0
+#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
#include <confdefs.h>
/* end of include file */