summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/posix/headers/config.h10
-rw-r--r--c/src/exec/posix/include/rtems/posix/config.h10
-rw-r--r--cpukit/posix/include/rtems/posix/config.h10
3 files changed, 24 insertions, 6 deletions
diff --git a/c/src/exec/posix/headers/config.h b/c/src/exec/posix/headers/config.h
index 1c0305652b..dee2cd1c2a 100644
--- a/c/src/exec/posix/headers/config.h
+++ b/c/src/exec/posix/headers/config.h
@@ -32,8 +32,14 @@ extern "C" {
* + required number of each object type
*/
-/* XXX fix me */
-typedef int posix_initialization_tasks_table;
+/*
+ * For now, we are only allowing the user to specify the entry point
+ * for posix initialization threads.
+ */
+
+typedef struct {
+ void *(*entry)(void *);
+} posix_initialization_tasks_table;
typedef struct {
int maximum_threads;
diff --git a/c/src/exec/posix/include/rtems/posix/config.h b/c/src/exec/posix/include/rtems/posix/config.h
index 1c0305652b..dee2cd1c2a 100644
--- a/c/src/exec/posix/include/rtems/posix/config.h
+++ b/c/src/exec/posix/include/rtems/posix/config.h
@@ -32,8 +32,14 @@ extern "C" {
* + required number of each object type
*/
-/* XXX fix me */
-typedef int posix_initialization_tasks_table;
+/*
+ * For now, we are only allowing the user to specify the entry point
+ * for posix initialization threads.
+ */
+
+typedef struct {
+ void *(*entry)(void *);
+} posix_initialization_tasks_table;
typedef struct {
int maximum_threads;
diff --git a/cpukit/posix/include/rtems/posix/config.h b/cpukit/posix/include/rtems/posix/config.h
index 1c0305652b..dee2cd1c2a 100644
--- a/cpukit/posix/include/rtems/posix/config.h
+++ b/cpukit/posix/include/rtems/posix/config.h
@@ -32,8 +32,14 @@ extern "C" {
* + required number of each object type
*/
-/* XXX fix me */
-typedef int posix_initialization_tasks_table;
+/*
+ * For now, we are only allowing the user to specify the entry point
+ * for posix initialization threads.
+ */
+
+typedef struct {
+ void *(*entry)(void *);
+} posix_initialization_tasks_table;
typedef struct {
int maximum_threads;