diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-05-29 16:07:21 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-05-29 16:07:21 +0000 |
commit | d9a0689e353c4066dc04a3b7d03cd64f381426ac (patch) | |
tree | 3fd8567b0b7cca9f828ec66253c733a716b86dc6 /c/src/exec/sapi/headers/confdefs.h | |
parent | Gutted test of rtems api calls and added comments to indicate what the test (diff) | |
download | rtems-d9a0689e353c4066dc04a3b7d03cd64f381426ac.tar.bz2 |
Addressed RTEMS API initialization tasks table in a system without
RTEMS initialization tasks.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/sapi/headers/confdefs.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/c/src/exec/sapi/headers/confdefs.h b/c/src/exec/sapi/headers/confdefs.h index 049c115d4d..2fe33a4983 100644 --- a/c/src/exec/sapi/headers/confdefs.h +++ b/c/src/exec/sapi/headers/confdefs.h @@ -78,6 +78,11 @@ rtems_initialization_tasks_table Initialization_tasks[] = { }; #endif +#define CONFIGURE_INIT_TASK_TABLE Initialization_tasks + +#define CONFIGURE_INIT_TASK_TABLE_SIZE \ + sizeof(CONFIGURE_INIT_TASK_TABLE) / sizeof(rtems_initialization_tasks_table) + #endif /* @@ -377,9 +382,8 @@ rtems_api_configuration_table Configuration_RTEMS_API = { CONFIGURE_MAXIMUM_REGIONS, CONFIGURE_MAXIMUM_PORTS, CONFIGURE_MAXIMUM_PERIODS, - sizeof (Initialization_tasks)/ - sizeof(rtems_initialization_tasks_table), /* number of init tasks */ - Initialization_tasks /* init task(s) table */ + CONFIGURE_INIT_TASK_TABLE_SIZE, + CONFIGURE_INIT_TASK_TABLE }; #ifdef RTEMS_POSIX_API |