summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-29 16:54:24 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-29 16:54:24 +0000
commite941ea131d495a8839a31d10545c9a1e87bf54af (patch)
treeb2357bebb6826fce421df50796ece580f365e104 /c
parentAddressed RTEMS API initialization tasks table in a system without (diff)
downloadrtems-e941ea131d495a8839a31d10545c9a1e87bf54af.tar.bz2
added entry point for posix initialization threads to the posix initialization
threads table structure
Diffstat (limited to 'c')
-rw-r--r--c/src/exec/posix/headers/config.h10
-rw-r--r--c/src/exec/posix/include/rtems/posix/config.h10
2 files changed, 16 insertions, 4 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;