diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-05-29 16:54:24 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-05-29 16:54:24 +0000 |
commit | e941ea131d495a8839a31d10545c9a1e87bf54af (patch) | |
tree | b2357bebb6826fce421df50796ece580f365e104 | |
parent | Addressed RTEMS API initialization tasks table in a system without (diff) | |
download | rtems-e941ea131d495a8839a31d10545c9a1e87bf54af.tar.bz2 |
added entry point for posix initialization threads to the posix initialization
threads table structure
-rw-r--r-- | c/src/exec/posix/headers/config.h | 10 | ||||
-rw-r--r-- | c/src/exec/posix/include/rtems/posix/config.h | 10 | ||||
-rw-r--r-- | cpukit/posix/include/rtems/posix/config.h | 10 |
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; |