Changeset be1c11ed in rtems


Ignore:
Timestamp:
May 29, 1996, 10:48:26 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
a96a713
Parents:
dd32d883
Message:

tests now specify whether using posix initialization threads table
or rtems initialization table in configuration table

Files:
103 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/sapi/headers/confdefs.h

    rdd32d883 rbe1c11ed  
    2828extern rtems_multiprocessing_table      Multiprocessing_configuration;
    2929#ifdef RTEMS_POSIX_API
    30 extern posix_api_configuration_table Configuration_POSIX_API;
     30extern posix_api_configuration_table    Configuration_POSIX_API;
    3131#endif
    3232
     
    3636 */
    3737
    38 #ifndef CONFIGURE_HAS_OWN_INIT_TASK_TABLE
     38#ifdef CONFIGURE_RTEMS_INIT_TASKS_TABLE
     39
     40#ifdef CONFIGURE_HAS_OWN_INIT_TASK_TABLE
     41
     42/*
     43 *  The user is defining their own table information and setting the
     44 *  appropriate variables.
     45 */
     46
     47#else
    3948
    4049#ifndef CONFIGURE_INIT_TASK_NAME
     
    8493  sizeof(CONFIGURE_INIT_TASK_TABLE) / sizeof(rtems_initialization_tasks_table)
    8594
     95#endif    /* CONFIGURE_HAS_OWN_INIT_TASK_TABLE */
     96
     97#else     /* CONFIGURE_RTEMS_INIT_TASKS_TABLE */
     98
     99#define CONFIGURE_INIT_TASK_TABLE      NULL
     100#define CONFIGURE_INIT_TASK_TABLE_SIZE 0
     101
    86102#endif
    87103
     
    266282#endif
    267283
    268 #ifndef CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE
    269 
    270 #ifndef CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT
    271 #define CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT   Init
     284#ifdef CONFIGURE_POSIX_INIT_THREAD_TABLE
     285
     286#ifdef CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE
     287
     288/*
     289 *  The user is defining their own table information and setting the
     290 *  appropriate variables.
     291 */
     292 
     293#else
     294
     295#ifndef CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT
     296#define CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT   POSIX_Init
    272297#endif
    273298
    274299#ifdef CONFIGURE_INIT
    275 posix_initialization_tasks_table POSIX_Initialization_tasks[] = {
    276   { CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT }
    277 };
    278 #endif
    279 
    280 #define CONFIGURE_POSIX_INIT_TASK_TABLE POSIX_Initialization_tasks
    281  
    282 #define CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE \
    283   sizeof(CONFIGURE_POSIX_INIT_TASK_TABLE) / \
    284       sizeof(posix_initialization_tasks_table)
     300posix_initialization_threads_table POSIX_Initialization_threads[] = {
     301  { CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT }
     302};
     303#endif
     304
     305#define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME POSIX_Initialization_threads
     306 
     307#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE \
     308  sizeof(CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME) / \
     309      sizeof(posix_initialization_threads_table)
    285310
    286311#endif    /* CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE */
     312
     313#else     /* CONFIGURE_POSIX_INIT_THREAD_TABLE */
     314
     315#define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME NULL
     316#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE 0
     317
     318#endif
    287319
    288320#endif    /* RTEMS_POSIX_API */
     
    413445  CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES,
    414446  CONFIGURE_MAXIMUM_POSIX_KEYS,
    415   CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE,
    416   CONFIGURE_POSIX_INIT_TASK_TABLE
     447  CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE,
     448  CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME
    417449};
    418450#endif
  • c/src/exec/sapi/include/confdefs.h

    rdd32d883 rbe1c11ed  
    2828extern rtems_multiprocessing_table      Multiprocessing_configuration;
    2929#ifdef RTEMS_POSIX_API
    30 extern posix_api_configuration_table Configuration_POSIX_API;
     30extern posix_api_configuration_table    Configuration_POSIX_API;
    3131#endif
    3232
     
    3636 */
    3737
    38 #ifndef CONFIGURE_HAS_OWN_INIT_TASK_TABLE
     38#ifdef CONFIGURE_RTEMS_INIT_TASKS_TABLE
     39
     40#ifdef CONFIGURE_HAS_OWN_INIT_TASK_TABLE
     41
     42/*
     43 *  The user is defining their own table information and setting the
     44 *  appropriate variables.
     45 */
     46
     47#else
    3948
    4049#ifndef CONFIGURE_INIT_TASK_NAME
     
    8493  sizeof(CONFIGURE_INIT_TASK_TABLE) / sizeof(rtems_initialization_tasks_table)
    8594
     95#endif    /* CONFIGURE_HAS_OWN_INIT_TASK_TABLE */
     96
     97#else     /* CONFIGURE_RTEMS_INIT_TASKS_TABLE */
     98
     99#define CONFIGURE_INIT_TASK_TABLE      NULL
     100#define CONFIGURE_INIT_TASK_TABLE_SIZE 0
     101
    86102#endif
    87103
     
    266282#endif
    267283
    268 #ifndef CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE
    269 
    270 #ifndef CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT
    271 #define CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT   Init
     284#ifdef CONFIGURE_POSIX_INIT_THREAD_TABLE
     285
     286#ifdef CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE
     287
     288/*
     289 *  The user is defining their own table information and setting the
     290 *  appropriate variables.
     291 */
     292 
     293#else
     294
     295#ifndef CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT
     296#define CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT   POSIX_Init
    272297#endif
    273298
    274299#ifdef CONFIGURE_INIT
    275 posix_initialization_tasks_table POSIX_Initialization_tasks[] = {
    276   { CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT }
    277 };
    278 #endif
    279 
    280 #define CONFIGURE_POSIX_INIT_TASK_TABLE POSIX_Initialization_tasks
    281  
    282 #define CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE \
    283   sizeof(CONFIGURE_POSIX_INIT_TASK_TABLE) / \
    284       sizeof(posix_initialization_tasks_table)
     300posix_initialization_threads_table POSIX_Initialization_threads[] = {
     301  { CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT }
     302};
     303#endif
     304
     305#define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME POSIX_Initialization_threads
     306 
     307#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE \
     308  sizeof(CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME) / \
     309      sizeof(posix_initialization_threads_table)
    285310
    286311#endif    /* CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE */
     312
     313#else     /* CONFIGURE_POSIX_INIT_THREAD_TABLE */
     314
     315#define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME NULL
     316#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE 0
     317
     318#endif
    287319
    288320#endif    /* RTEMS_POSIX_API */
     
    413445  CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES,
    414446  CONFIGURE_MAXIMUM_POSIX_KEYS,
    415   CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE,
    416   CONFIGURE_POSIX_INIT_TASK_TABLE
     447  CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE,
     448  CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME
    417449};
    418450#endif
  • c/src/tests/libtests/stackchk/system.h

    rdd32d883 rbe1c11ed  
    4040#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    4141
     42#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     43
    4244#include <confdefs.h>
    4345
  • c/src/tests/mptests/mp01/system.h

    rdd32d883 rbe1c11ed  
    3434#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3535 
     36#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    3637#define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_GLOBAL
    3738
  • c/src/tests/mptests/mp02/system.h

    rdd32d883 rbe1c11ed  
    3434#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3535 
     36#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     37
    3638#include <confdefs.h>
    3739
  • c/src/tests/mptests/mp03/system.h

    rdd32d883 rbe1c11ed  
    4141#define CONFIGURE_MAXIMUM_TIMERS              1
    4242
     43#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     44
    4345#include <confdefs.h>
    4446
  • c/src/tests/mptests/mp04/system.h

    rdd32d883 rbe1c11ed  
    3636#define CONFIGURE_MAXIMUM_TIMERS              1
    3737
     38#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     39
    3840#include <confdefs.h>
    3941
  • c/src/tests/mptests/mp05/system.h

    rdd32d883 rbe1c11ed  
    3838#define CONFIGURE_MAXIMUM_TIMERS              1
    3939
     40#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     41
    4042#include <confdefs.h>
    4143
  • c/src/tests/mptests/mp06/system.h

    rdd32d883 rbe1c11ed  
    3636#define CONFIGURE_MAXIMUM_TIMERS              1
    3737
     38#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     39
    3840#include <confdefs.h>
    3941
  • c/src/tests/mptests/mp07/system.h

    rdd32d883 rbe1c11ed  
    3636#define CONFIGURE_MAXIMUM_TIMERS              1
    3737
     38#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     39
    3840#include <confdefs.h>
    3941
  • c/src/tests/mptests/mp08/system.h

    rdd32d883 rbe1c11ed  
    3737#define CONFIGURE_MAXIMUM_SEMAPHORES          1
    3838
     39#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     40
    3941#include <confdefs.h>
    4042
  • c/src/tests/mptests/mp09/system.h

    rdd32d883 rbe1c11ed  
    4141#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES      1
    4242
     43#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     44
    4345#include <confdefs.h>
    4446
  • c/src/tests/mptests/mp10/system.h

    rdd32d883 rbe1c11ed  
    4747#endif
    4848
     49#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     50
    4951#include <confdefs.h>
    5052
  • c/src/tests/mptests/mp11/system.h

    rdd32d883 rbe1c11ed  
    3939#endif
    4040
     41#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     42
    4143#include <confdefs.h>
    4244
  • c/src/tests/mptests/mp12/system.h

    rdd32d883 rbe1c11ed  
    4141#endif
    4242
     43#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     44
    4345#include <confdefs.h>
    4446
  • c/src/tests/mptests/mp13/system.h

    rdd32d883 rbe1c11ed  
    4343#endif
    4444
     45#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     46
    4547#include <confdefs.h>
    4648
  • c/src/tests/mptests/mp14/system.h

    rdd32d883 rbe1c11ed  
    6969#endif
    7070
     71#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     72
    7173#include <confdefs.h>
    7274
  • c/src/tests/psxtests/psx01/init.c

    rdd32d883 rbe1c11ed  
    2626#include "system.h"
    2727
    28 void *Init(
     28void *POSIX_Init(
    2929  void *argument
    3030)
  • c/src/tests/psxtests/psx01/system.h

    rdd32d883 rbe1c11ed  
    2222#include <stdio.h>
    2323
    24 void *Init(
     24void *POSIX_Init(
    2525  void *argument
    2626);
     
    3737#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3838
    39 #define CONFIGURE_HAS_OWN_INIT_TASK_TABLE
    40 #define CONFIGURE_INIT_TASK_TABLE_SIZE 0
    41 #define CONFIGURE_INIT_TASK_TABLE      NULL
     39#define CONFIGURE_POSIX_INIT_THREAD_TABLE
    4240
    4341#include <confdefs.h>
  • c/src/tests/samples/base_mp/system.h

    rdd32d883 rbe1c11ed  
    3434#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3535 
     36#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     37
    3638/*
    3739 *  Put the overrides of default configuration parameters here.
  • c/src/tests/samples/base_sp/system.h

    rdd32d883 rbe1c11ed  
    3434#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3535
     36#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     37
    3638#include <confdefs.h>
    3739
  • c/src/tests/samples/cdtest/system.h

    rdd32d883 rbe1c11ed  
    3030#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3131
     32#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    3233#define CONFIGURE_INIT_TASK_ENTRY_POINT   main_task
    3334#define CONFIGURE_INIT_TASK_NAME          rtems_build_name( 'C', 'T', 'O', 'R' )
  • c/src/tests/samples/hello/system.h

    rdd32d883 rbe1c11ed  
    2727#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
    2828
     29#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     30
    2931#include <confdefs.h>
    3032
  • c/src/tests/samples/paranoia/system.h

    rdd32d883 rbe1c11ed  
    2828#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    2929
     30#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    3031#define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_FLOATING_POINT
    3132#define CONFIGURE_INIT_TASK_STACK_SIZE    (RTEMS_MINIMUM_STACK_SIZE * 2)
    32 
    3333
    3434#include <confdefs.h>
  • c/src/tests/samples/ticker/system.h

    rdd32d883 rbe1c11ed  
    3434#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3535
     36#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     37
    3638#include <confdefs.h>
    3739
  • c/src/tests/sptests/sp01/system.h

    rdd32d883 rbe1c11ed  
    3434#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3535
     36#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     37
    3638#include <confdefs.h>
    3739
  • c/src/tests/sptests/sp02/system.h

    rdd32d883 rbe1c11ed  
    4646#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    4747
     48#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     49
    4850#include <confdefs.h>
    4951
  • c/src/tests/sptests/sp03/system.h

    rdd32d883 rbe1c11ed  
    3838#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3939
     40#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     41
    4042#include <confdefs.h>
    4143
  • c/src/tests/sptests/sp04/system.h

    rdd32d883 rbe1c11ed  
    5050#define CONFIGURE_TICKS_PER_TIMESLICE       100
    5151
     52#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     53
    5254#include <confdefs.h>
    5355
  • c/src/tests/sptests/sp05/system.h

    rdd32d883 rbe1c11ed  
    4444#define CONFIGURE_TICKS_PER_TIMESLICE       100
    4545
     46#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     47
    4648#include <confdefs.h>
    4749
  • c/src/tests/sptests/sp06/system.h

    rdd32d883 rbe1c11ed  
    4444#define CONFIGURE_TICKS_PER_TIMESLICE       100
    4545
     46#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     47
    4648#include <confdefs.h>
    4749
  • c/src/tests/sptests/sp07/system.h

    rdd32d883 rbe1c11ed  
    7373#define CONFIGURE_TICKS_PER_TIMESLICE       100
    7474
     75#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     76
    7577#include <confdefs.h>
    7678
  • c/src/tests/sptests/sp08/system.h

    rdd32d883 rbe1c11ed  
    3939#define CONFIGURE_TICKS_PER_TIMESLICE       100
    4040
     41#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     42
    4143#include <confdefs.h>
    4244
  • c/src/tests/sptests/sp09/system.h

    rdd32d883 rbe1c11ed  
    9696#define CONFIGURE_TICKS_PER_TIMESLICE       100
    9797
     98#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     99
    98100#include <confdefs.h>
    99101
  • c/src/tests/sptests/sp11/system.h

    rdd32d883 rbe1c11ed  
    7676#define CONFIGURE_TICKS_PER_TIMESLICE       100
    7777
     78#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     79
    7880#include <confdefs.h>
    7981
  • c/src/tests/sptests/sp12/system.h

    rdd32d883 rbe1c11ed  
    6262#define CONFIGURE_TICKS_PER_TIMESLICE       100
    6363
     64#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     65
    6466#include <confdefs.h>
    6567
  • c/src/tests/sptests/sp13/system.h

    rdd32d883 rbe1c11ed  
    5454#define CONFIGURE_TICKS_PER_TIMESLICE       100
    5555
     56#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     57
    5658#include <confdefs.h>
    5759
  • c/src/tests/sptests/sp14/system.h

    rdd32d883 rbe1c11ed  
    5050#define CONFIGURE_TICKS_PER_TIMESLICE       100
    5151
     52#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     53
    5254#include <confdefs.h>
    5355
  • c/src/tests/sptests/sp15/system.h

    rdd32d883 rbe1c11ed  
    3737#define CONFIGURE_TICKS_PER_TIMESLICE       100
    3838
     39#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     40
    3941#include <confdefs.h>
    4042
  • c/src/tests/sptests/sp16/system.h

    rdd32d883 rbe1c11ed  
    5353#define CONFIGURE_TICKS_PER_TIMESLICE       100
    5454
     55#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     56
    5557#include <confdefs.h>
    5658
  • c/src/tests/sptests/sp17/system.h

    rdd32d883 rbe1c11ed  
    4545#define CONFIGURE_TICKS_PER_TIMESLICE     1000
    4646
     47#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     48
    4749#include <confdefs.h>
    4850
  • c/src/tests/sptests/sp19/system.h

    rdd32d883 rbe1c11ed  
    4444#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    4545
     46#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     47
    4648#include <confdefs.h>
    4749
  • c/src/tests/sptests/sp20/system.h

    rdd32d883 rbe1c11ed  
    4646#define CONFIGURE_MAXIMUM_PERIODS             10
    4747
     48#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     49
    4850#include <confdefs.h>
    4951
  • c/src/tests/sptests/sp21/system.h

    rdd32d883 rbe1c11ed  
    3535#define CONFIGURE_TEST_NEEDS_STUB_DRIVER
    3636
     37#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     38
    3739#include <confdefs.h>
    3840
  • c/src/tests/sptests/sp22/system.h

    rdd32d883 rbe1c11ed  
    4343#define CONFIGURE_MAXIMUM_TIMERS              2
    4444
     45#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     46
    4547#include <confdefs.h>
    4648
  • c/src/tests/sptests/sp23/system.h

    rdd32d883 rbe1c11ed  
    3636#define CONFIGURE_MAXIMUM_PORTS               1
    3737
     38#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     39
    3840#include <confdefs.h>
    3941
  • c/src/tests/sptests/sp24/system.h

    rdd32d883 rbe1c11ed  
    4141#define CONFIGURE_MAXIMUM_TIMERS              3
    4242
     43#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     44
    4345#include <confdefs.h>
    4446
  • c/src/tests/sptests/sp25/system.h

    rdd32d883 rbe1c11ed  
    3636#define CONFIGURE_MAXIMUM_REGIONS             1
    3737
     38#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     39
    3840#include <confdefs.h>
    3941
  • c/src/tests/sptests/spfatal/system.h

    rdd32d883 rbe1c11ed  
    6565#define CONFIGURE_INITIAL_EXTENSIONS    &initial_extensions
    6666
     67#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     68
    6769#include <confdefs.h>
    6870
  • c/src/tests/sptests/spsize/system.h

    rdd32d883 rbe1c11ed  
    3636#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3737
     38#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     39
    3840#include <confdefs.h>
    3941
  • c/src/tests/tmtests/tm01/system.h

    rdd32d883 rbe1c11ed  
    3737#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3838 
     39#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     40
    3941#include <confdefs.h>
    4042
  • c/src/tests/tmtests/tm02/system.h

    rdd32d883 rbe1c11ed  
    3838#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3939 
     40#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     41
    4042#include <confdefs.h>
    4143
  • cpukit/sapi/include/confdefs.h

    rdd32d883 rbe1c11ed  
    2828extern rtems_multiprocessing_table      Multiprocessing_configuration;
    2929#ifdef RTEMS_POSIX_API
    30 extern posix_api_configuration_table Configuration_POSIX_API;
     30extern posix_api_configuration_table    Configuration_POSIX_API;
    3131#endif
    3232
     
    3636 */
    3737
    38 #ifndef CONFIGURE_HAS_OWN_INIT_TASK_TABLE
     38#ifdef CONFIGURE_RTEMS_INIT_TASKS_TABLE
     39
     40#ifdef CONFIGURE_HAS_OWN_INIT_TASK_TABLE
     41
     42/*
     43 *  The user is defining their own table information and setting the
     44 *  appropriate variables.
     45 */
     46
     47#else
    3948
    4049#ifndef CONFIGURE_INIT_TASK_NAME
     
    8493  sizeof(CONFIGURE_INIT_TASK_TABLE) / sizeof(rtems_initialization_tasks_table)
    8594
     95#endif    /* CONFIGURE_HAS_OWN_INIT_TASK_TABLE */
     96
     97#else     /* CONFIGURE_RTEMS_INIT_TASKS_TABLE */
     98
     99#define CONFIGURE_INIT_TASK_TABLE      NULL
     100#define CONFIGURE_INIT_TASK_TABLE_SIZE 0
     101
    86102#endif
    87103
     
    266282#endif
    267283
    268 #ifndef CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE
    269 
    270 #ifndef CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT
    271 #define CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT   Init
     284#ifdef CONFIGURE_POSIX_INIT_THREAD_TABLE
     285
     286#ifdef CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE
     287
     288/*
     289 *  The user is defining their own table information and setting the
     290 *  appropriate variables.
     291 */
     292 
     293#else
     294
     295#ifndef CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT
     296#define CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT   POSIX_Init
    272297#endif
    273298
    274299#ifdef CONFIGURE_INIT
    275 posix_initialization_tasks_table POSIX_Initialization_tasks[] = {
    276   { CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT }
    277 };
    278 #endif
    279 
    280 #define CONFIGURE_POSIX_INIT_TASK_TABLE POSIX_Initialization_tasks
    281  
    282 #define CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE \
    283   sizeof(CONFIGURE_POSIX_INIT_TASK_TABLE) / \
    284       sizeof(posix_initialization_tasks_table)
     300posix_initialization_threads_table POSIX_Initialization_threads[] = {
     301  { CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT }
     302};
     303#endif
     304
     305#define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME POSIX_Initialization_threads
     306 
     307#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE \
     308  sizeof(CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME) / \
     309      sizeof(posix_initialization_threads_table)
    285310
    286311#endif    /* CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE */
     312
     313#else     /* CONFIGURE_POSIX_INIT_THREAD_TABLE */
     314
     315#define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME NULL
     316#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE 0
     317
     318#endif
    287319
    288320#endif    /* RTEMS_POSIX_API */
     
    413445  CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES,
    414446  CONFIGURE_MAXIMUM_POSIX_KEYS,
    415   CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE,
    416   CONFIGURE_POSIX_INIT_TASK_TABLE
     447  CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE,
     448  CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME
    417449};
    418450#endif
  • testsuites/libtests/stackchk/system.h

    rdd32d883 rbe1c11ed  
    4040#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    4141
     42#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     43
    4244#include <confdefs.h>
    4345
  • testsuites/mptests/mp01/system.h

    rdd32d883 rbe1c11ed  
    3434#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3535 
     36#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    3637#define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_GLOBAL
    3738
  • testsuites/mptests/mp02/system.h

    rdd32d883 rbe1c11ed  
    3434#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3535 
     36#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     37
    3638#include <confdefs.h>
    3739
  • testsuites/mptests/mp03/system.h

    rdd32d883 rbe1c11ed  
    4141#define CONFIGURE_MAXIMUM_TIMERS              1
    4242
     43#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     44
    4345#include <confdefs.h>
    4446
  • testsuites/mptests/mp04/system.h

    rdd32d883 rbe1c11ed  
    3636#define CONFIGURE_MAXIMUM_TIMERS              1
    3737
     38#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     39
    3840#include <confdefs.h>
    3941
  • testsuites/mptests/mp05/system.h

    rdd32d883 rbe1c11ed  
    3838#define CONFIGURE_MAXIMUM_TIMERS              1
    3939
     40#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     41
    4042#include <confdefs.h>
    4143
  • testsuites/mptests/mp06/system.h

    rdd32d883 rbe1c11ed  
    3636#define CONFIGURE_MAXIMUM_TIMERS              1
    3737
     38#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     39
    3840#include <confdefs.h>
    3941
  • testsuites/mptests/mp07/system.h

    rdd32d883 rbe1c11ed  
    3636#define CONFIGURE_MAXIMUM_TIMERS              1
    3737
     38#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     39
    3840#include <confdefs.h>
    3941
  • testsuites/mptests/mp08/system.h

    rdd32d883 rbe1c11ed  
    3737#define CONFIGURE_MAXIMUM_SEMAPHORES          1
    3838
     39#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     40
    3941#include <confdefs.h>
    4042
  • testsuites/mptests/mp09/system.h

    rdd32d883 rbe1c11ed  
    4141#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES      1
    4242
     43#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     44
    4345#include <confdefs.h>
    4446
  • testsuites/mptests/mp10/system.h

    rdd32d883 rbe1c11ed  
    4747#endif
    4848
     49#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     50
    4951#include <confdefs.h>
    5052
  • testsuites/mptests/mp11/system.h

    rdd32d883 rbe1c11ed  
    3939#endif
    4040
     41#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     42
    4143#include <confdefs.h>
    4244
  • testsuites/mptests/mp12/system.h

    rdd32d883 rbe1c11ed  
    4141#endif
    4242
     43#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     44
    4345#include <confdefs.h>
    4446
  • testsuites/mptests/mp13/system.h

    rdd32d883 rbe1c11ed  
    4343#endif
    4444
     45#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     46
    4547#include <confdefs.h>
    4648
  • testsuites/mptests/mp14/system.h

    rdd32d883 rbe1c11ed  
    6969#endif
    7070
     71#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     72
    7173#include <confdefs.h>
    7274
  • testsuites/psxtests/psx01/init.c

    rdd32d883 rbe1c11ed  
    2626#include "system.h"
    2727
    28 void *Init(
     28void *POSIX_Init(
    2929  void *argument
    3030)
  • testsuites/psxtests/psx01/system.h

    rdd32d883 rbe1c11ed  
    2222#include <stdio.h>
    2323
    24 void *Init(
     24void *POSIX_Init(
    2525  void *argument
    2626);
     
    3737#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3838
    39 #define CONFIGURE_HAS_OWN_INIT_TASK_TABLE
    40 #define CONFIGURE_INIT_TASK_TABLE_SIZE 0
    41 #define CONFIGURE_INIT_TASK_TABLE      NULL
     39#define CONFIGURE_POSIX_INIT_THREAD_TABLE
    4240
    4341#include <confdefs.h>
  • testsuites/samples/base_mp/system.h

    rdd32d883 rbe1c11ed  
    3434#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3535 
     36#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     37
    3638/*
    3739 *  Put the overrides of default configuration parameters here.
  • testsuites/samples/base_sp/system.h

    rdd32d883 rbe1c11ed  
    3434#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3535
     36#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     37
    3638#include <confdefs.h>
    3739
  • testsuites/samples/cdtest/system.h

    rdd32d883 rbe1c11ed  
    3030#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3131
     32#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    3233#define CONFIGURE_INIT_TASK_ENTRY_POINT   main_task
    3334#define CONFIGURE_INIT_TASK_NAME          rtems_build_name( 'C', 'T', 'O', 'R' )
  • testsuites/samples/hello/system.h

    rdd32d883 rbe1c11ed  
    2727#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
    2828
     29#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     30
    2931#include <confdefs.h>
    3032
  • testsuites/samples/paranoia/system.h

    rdd32d883 rbe1c11ed  
    2828#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    2929
     30#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    3031#define CONFIGURE_INIT_TASK_ATTRIBUTES    RTEMS_FLOATING_POINT
    3132#define CONFIGURE_INIT_TASK_STACK_SIZE    (RTEMS_MINIMUM_STACK_SIZE * 2)
    32 
    3333
    3434#include <confdefs.h>
  • testsuites/samples/ticker/system.h

    rdd32d883 rbe1c11ed  
    3434#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3535
     36#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     37
    3638#include <confdefs.h>
    3739
  • testsuites/sptests/sp01/system.h

    rdd32d883 rbe1c11ed  
    3434#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3535
     36#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     37
    3638#include <confdefs.h>
    3739
  • testsuites/sptests/sp02/system.h

    rdd32d883 rbe1c11ed  
    4646#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    4747
     48#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     49
    4850#include <confdefs.h>
    4951
  • testsuites/sptests/sp03/system.h

    rdd32d883 rbe1c11ed  
    3838#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3939
     40#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     41
    4042#include <confdefs.h>
    4143
  • testsuites/sptests/sp04/system.h

    rdd32d883 rbe1c11ed  
    5050#define CONFIGURE_TICKS_PER_TIMESLICE       100
    5151
     52#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     53
    5254#include <confdefs.h>
    5355
  • testsuites/sptests/sp05/system.h

    rdd32d883 rbe1c11ed  
    4444#define CONFIGURE_TICKS_PER_TIMESLICE       100
    4545
     46#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     47
    4648#include <confdefs.h>
    4749
  • testsuites/sptests/sp06/system.h

    rdd32d883 rbe1c11ed  
    4444#define CONFIGURE_TICKS_PER_TIMESLICE       100
    4545
     46#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     47
    4648#include <confdefs.h>
    4749
  • testsuites/sptests/sp07/system.h

    rdd32d883 rbe1c11ed  
    7373#define CONFIGURE_TICKS_PER_TIMESLICE       100
    7474
     75#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     76
    7577#include <confdefs.h>
    7678
  • testsuites/sptests/sp08/system.h

    rdd32d883 rbe1c11ed  
    3939#define CONFIGURE_TICKS_PER_TIMESLICE       100
    4040
     41#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     42
    4143#include <confdefs.h>
    4244
  • testsuites/sptests/sp09/system.h

    rdd32d883 rbe1c11ed  
    9696#define CONFIGURE_TICKS_PER_TIMESLICE       100
    9797
     98#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     99
    98100#include <confdefs.h>
    99101
  • testsuites/sptests/sp11/system.h

    rdd32d883 rbe1c11ed  
    7676#define CONFIGURE_TICKS_PER_TIMESLICE       100
    7777
     78#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     79
    7880#include <confdefs.h>
    7981
  • testsuites/sptests/sp12/system.h

    rdd32d883 rbe1c11ed  
    6262#define CONFIGURE_TICKS_PER_TIMESLICE       100
    6363
     64#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     65
    6466#include <confdefs.h>
    6567
  • testsuites/sptests/sp13/system.h

    rdd32d883 rbe1c11ed  
    5454#define CONFIGURE_TICKS_PER_TIMESLICE       100
    5555
     56#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     57
    5658#include <confdefs.h>
    5759
  • testsuites/sptests/sp14/system.h

    rdd32d883 rbe1c11ed  
    5050#define CONFIGURE_TICKS_PER_TIMESLICE       100
    5151
     52#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     53
    5254#include <confdefs.h>
    5355
  • testsuites/sptests/sp15/system.h

    rdd32d883 rbe1c11ed  
    3737#define CONFIGURE_TICKS_PER_TIMESLICE       100
    3838
     39#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     40
    3941#include <confdefs.h>
    4042
  • testsuites/sptests/sp16/system.h

    rdd32d883 rbe1c11ed  
    5353#define CONFIGURE_TICKS_PER_TIMESLICE       100
    5454
     55#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     56
    5557#include <confdefs.h>
    5658
  • testsuites/sptests/sp17/system.h

    rdd32d883 rbe1c11ed  
    4545#define CONFIGURE_TICKS_PER_TIMESLICE     1000
    4646
     47#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     48
    4749#include <confdefs.h>
    4850
  • testsuites/sptests/sp19/system.h

    rdd32d883 rbe1c11ed  
    4444#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    4545
     46#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     47
    4648#include <confdefs.h>
    4749
  • testsuites/sptests/sp20/system.h

    rdd32d883 rbe1c11ed  
    4646#define CONFIGURE_MAXIMUM_PERIODS             10
    4747
     48#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     49
    4850#include <confdefs.h>
    4951
  • testsuites/sptests/sp21/system.h

    rdd32d883 rbe1c11ed  
    3535#define CONFIGURE_TEST_NEEDS_STUB_DRIVER
    3636
     37#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     38
    3739#include <confdefs.h>
    3840
  • testsuites/sptests/sp22/system.h

    rdd32d883 rbe1c11ed  
    4343#define CONFIGURE_MAXIMUM_TIMERS              2
    4444
     45#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     46
    4547#include <confdefs.h>
    4648
  • testsuites/sptests/sp23/system.h

    rdd32d883 rbe1c11ed  
    3636#define CONFIGURE_MAXIMUM_PORTS               1
    3737
     38#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     39
    3840#include <confdefs.h>
    3941
  • testsuites/sptests/sp24/system.h

    rdd32d883 rbe1c11ed  
    4141#define CONFIGURE_MAXIMUM_TIMERS              3
    4242
     43#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     44
    4345#include <confdefs.h>
    4446
  • testsuites/sptests/sp25/system.h

    rdd32d883 rbe1c11ed  
    3636#define CONFIGURE_MAXIMUM_REGIONS             1
    3737
     38#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     39
    3840#include <confdefs.h>
    3941
  • testsuites/sptests/spfatal/system.h

    rdd32d883 rbe1c11ed  
    6565#define CONFIGURE_INITIAL_EXTENSIONS    &initial_extensions
    6666
     67#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     68
    6769#include <confdefs.h>
    6870
  • testsuites/sptests/spsize/system.h

    rdd32d883 rbe1c11ed  
    3636#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
    3737
     38#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     39
    3840#include <confdefs.h>
    3941
  • testsuites/tmtests/tm01/system.h

    rdd32d883 rbe1c11ed  
    3737#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3838 
     39#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     40
    3941#include <confdefs.h>
    4042
  • testsuites/tmtests/tm02/system.h

    rdd32d883 rbe1c11ed  
    3838#define CONFIGURE_TICKS_PER_TIMESLICE        0
    3939 
     40#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
     41
    4042#include <confdefs.h>
    4143
Note: See TracChangeset for help on using the changeset viewer.