tests now specify whether using posix initialization threads table

or rtems initialization table in configuration table
This commit is contained in:
Joel Sherrill
1996-05-29 22:48:26 +00:00
parent dd32d883d7
commit be1c11edab
103 changed files with 327 additions and 51 deletions

View File

@@ -35,7 +35,16 @@ extern posix_api_configuration_table Configuration_POSIX_API;
* one user initialization table is defined. * one user initialization table is defined.
*/ */
#ifndef CONFIGURE_HAS_OWN_INIT_TASK_TABLE #ifdef CONFIGURE_RTEMS_INIT_TASKS_TABLE
#ifdef CONFIGURE_HAS_OWN_INIT_TASK_TABLE
/*
* The user is defining their own table information and setting the
* appropriate variables.
*/
#else
#ifndef CONFIGURE_INIT_TASK_NAME #ifndef CONFIGURE_INIT_TASK_NAME
#define CONFIGURE_INIT_TASK_NAME rtems_build_name( 'U', 'I', '1', ' ' ) #define CONFIGURE_INIT_TASK_NAME rtems_build_name( 'U', 'I', '1', ' ' )
@@ -83,6 +92,13 @@ rtems_initialization_tasks_table Initialization_tasks[] = {
#define CONFIGURE_INIT_TASK_TABLE_SIZE \ #define CONFIGURE_INIT_TASK_TABLE_SIZE \
sizeof(CONFIGURE_INIT_TASK_TABLE) / sizeof(rtems_initialization_tasks_table) sizeof(CONFIGURE_INIT_TASK_TABLE) / sizeof(rtems_initialization_tasks_table)
#endif /* CONFIGURE_HAS_OWN_INIT_TASK_TABLE */
#else /* CONFIGURE_RTEMS_INIT_TASKS_TABLE */
#define CONFIGURE_INIT_TASK_TABLE NULL
#define CONFIGURE_INIT_TASK_TABLE_SIZE 0
#endif #endif
/* /*
@@ -265,26 +281,42 @@ rtems_multiprocessing_table Multiprocessing_configuration = {
#define CONFIGURE_MAXIMUM_POSIX_KEYS 0 #define CONFIGURE_MAXIMUM_POSIX_KEYS 0
#endif #endif
#ifndef CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE #ifdef CONFIGURE_POSIX_INIT_THREAD_TABLE
#ifndef CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT #ifdef CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE
#define CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT Init
/*
* The user is defining their own table information and setting the
* appropriate variables.
*/
#else
#ifndef CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT
#define CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT POSIX_Init
#endif #endif
#ifdef CONFIGURE_INIT #ifdef CONFIGURE_INIT
posix_initialization_tasks_table POSIX_Initialization_tasks[] = { posix_initialization_threads_table POSIX_Initialization_threads[] = {
{ CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT } { CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT }
}; };
#endif #endif
#define CONFIGURE_POSIX_INIT_TASK_TABLE POSIX_Initialization_tasks #define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME POSIX_Initialization_threads
#define CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE \ #define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE \
sizeof(CONFIGURE_POSIX_INIT_TASK_TABLE) / \ sizeof(CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME) / \
sizeof(posix_initialization_tasks_table) sizeof(posix_initialization_threads_table)
#endif /* CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE */ #endif /* CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE */
#else /* CONFIGURE_POSIX_INIT_THREAD_TABLE */
#define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME NULL
#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE 0
#endif
#endif /* RTEMS_POSIX_API */ #endif /* RTEMS_POSIX_API */
/* /*
@@ -412,8 +444,8 @@ posix_api_configuration_table Configuration_POSIX_API = {
CONFIGURE_MAXIMUM_POSIX_MUTEXES, CONFIGURE_MAXIMUM_POSIX_MUTEXES,
CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES, CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES,
CONFIGURE_MAXIMUM_POSIX_KEYS, CONFIGURE_MAXIMUM_POSIX_KEYS,
CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE, CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE,
CONFIGURE_POSIX_INIT_TASK_TABLE CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME
}; };
#endif #endif

View File

@@ -35,7 +35,16 @@ extern posix_api_configuration_table Configuration_POSIX_API;
* one user initialization table is defined. * one user initialization table is defined.
*/ */
#ifndef CONFIGURE_HAS_OWN_INIT_TASK_TABLE #ifdef CONFIGURE_RTEMS_INIT_TASKS_TABLE
#ifdef CONFIGURE_HAS_OWN_INIT_TASK_TABLE
/*
* The user is defining their own table information and setting the
* appropriate variables.
*/
#else
#ifndef CONFIGURE_INIT_TASK_NAME #ifndef CONFIGURE_INIT_TASK_NAME
#define CONFIGURE_INIT_TASK_NAME rtems_build_name( 'U', 'I', '1', ' ' ) #define CONFIGURE_INIT_TASK_NAME rtems_build_name( 'U', 'I', '1', ' ' )
@@ -83,6 +92,13 @@ rtems_initialization_tasks_table Initialization_tasks[] = {
#define CONFIGURE_INIT_TASK_TABLE_SIZE \ #define CONFIGURE_INIT_TASK_TABLE_SIZE \
sizeof(CONFIGURE_INIT_TASK_TABLE) / sizeof(rtems_initialization_tasks_table) sizeof(CONFIGURE_INIT_TASK_TABLE) / sizeof(rtems_initialization_tasks_table)
#endif /* CONFIGURE_HAS_OWN_INIT_TASK_TABLE */
#else /* CONFIGURE_RTEMS_INIT_TASKS_TABLE */
#define CONFIGURE_INIT_TASK_TABLE NULL
#define CONFIGURE_INIT_TASK_TABLE_SIZE 0
#endif #endif
/* /*
@@ -265,26 +281,42 @@ rtems_multiprocessing_table Multiprocessing_configuration = {
#define CONFIGURE_MAXIMUM_POSIX_KEYS 0 #define CONFIGURE_MAXIMUM_POSIX_KEYS 0
#endif #endif
#ifndef CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE #ifdef CONFIGURE_POSIX_INIT_THREAD_TABLE
#ifndef CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT #ifdef CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE
#define CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT Init
/*
* The user is defining their own table information and setting the
* appropriate variables.
*/
#else
#ifndef CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT
#define CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT POSIX_Init
#endif #endif
#ifdef CONFIGURE_INIT #ifdef CONFIGURE_INIT
posix_initialization_tasks_table POSIX_Initialization_tasks[] = { posix_initialization_threads_table POSIX_Initialization_threads[] = {
{ CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT } { CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT }
}; };
#endif #endif
#define CONFIGURE_POSIX_INIT_TASK_TABLE POSIX_Initialization_tasks #define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME POSIX_Initialization_threads
#define CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE \ #define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE \
sizeof(CONFIGURE_POSIX_INIT_TASK_TABLE) / \ sizeof(CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME) / \
sizeof(posix_initialization_tasks_table) sizeof(posix_initialization_threads_table)
#endif /* CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE */ #endif /* CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE */
#else /* CONFIGURE_POSIX_INIT_THREAD_TABLE */
#define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME NULL
#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE 0
#endif
#endif /* RTEMS_POSIX_API */ #endif /* RTEMS_POSIX_API */
/* /*
@@ -412,8 +444,8 @@ posix_api_configuration_table Configuration_POSIX_API = {
CONFIGURE_MAXIMUM_POSIX_MUTEXES, CONFIGURE_MAXIMUM_POSIX_MUTEXES,
CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES, CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES,
CONFIGURE_MAXIMUM_POSIX_KEYS, CONFIGURE_MAXIMUM_POSIX_KEYS,
CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE, CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE,
CONFIGURE_POSIX_INIT_TASK_TABLE CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME
}; };
#endif #endif

View File

@@ -39,6 +39,8 @@ void blow_stack( void );
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -33,6 +33,7 @@ rtems_task Test_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_GLOBAL #define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_GLOBAL
#include <confdefs.h> #include <confdefs.h>

View File

@@ -33,6 +33,8 @@ rtems_task Test_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -40,6 +40,8 @@ rtems_timer_service_routine Delayed_send_event(
#define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -35,6 +35,8 @@ rtems_task Test_task(
#define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -37,6 +37,8 @@ rtems_asr Process_asr( rtems_signal_set );
#define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -35,6 +35,8 @@ rtems_task Test_task(
#define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -35,6 +35,8 @@ rtems_task Test_task(
#define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -36,6 +36,8 @@ rtems_task Test_task(
#define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_MAXIMUM_SEMAPHORES 1 #define CONFIGURE_MAXIMUM_SEMAPHORES 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -40,6 +40,8 @@ void Send_messages( void );
#define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -46,6 +46,8 @@ rtems_task Test_task3(
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
#endif #endif
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -38,6 +38,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_PARTITIONS 1 #define CONFIGURE_MAXIMUM_PARTITIONS 1
#endif #endif
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -40,6 +40,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_PARTITIONS 2 #define CONFIGURE_MAXIMUM_PARTITIONS 2
#endif #endif
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -42,6 +42,8 @@ rtems_task Test_task2(
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
#endif #endif
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -68,6 +68,8 @@ void Exit_test( void );
#define CONFIGURE_MAXIMUM_TIMERS 2 #define CONFIGURE_MAXIMUM_TIMERS 2
#endif #endif
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -25,7 +25,7 @@
#define CONFIGURE_INIT #define CONFIGURE_INIT
#include "system.h" #include "system.h"
void *Init( void *POSIX_Init(
void *argument void *argument
) )
{ {

View File

@@ -21,7 +21,7 @@
#include <assert.h> #include <assert.h>
#include <stdio.h> #include <stdio.h>
void *Init( void *POSIX_Init(
void *argument void *argument
); );
@@ -36,9 +36,7 @@ void *Task_1_through_3(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_HAS_OWN_INIT_TASK_TABLE #define CONFIGURE_POSIX_INIT_THREAD_TABLE
#define CONFIGURE_INIT_TASK_TABLE_SIZE 0
#define CONFIGURE_INIT_TASK_TABLE NULL
#include <confdefs.h> #include <confdefs.h>

View File

@@ -33,6 +33,8 @@ rtems_task Application_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
/* /*
* Put the overrides of default configuration parameters here. * Put the overrides of default configuration parameters here.
*/ */

View File

@@ -33,6 +33,8 @@ rtems_task Application_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -29,6 +29,7 @@ rtems_task main_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_ENTRY_POINT main_task #define CONFIGURE_INIT_TASK_ENTRY_POINT main_task
#define CONFIGURE_INIT_TASK_NAME rtems_build_name( 'C', 'T', 'O', 'R' ) #define CONFIGURE_INIT_TASK_NAME rtems_build_name( 'C', 'T', 'O', 'R' )

View File

@@ -26,6 +26,8 @@ rtems_task Init(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -27,10 +27,10 @@ rtems_task Init(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT #define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
#define CONFIGURE_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2) #define CONFIGURE_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2)
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -33,6 +33,8 @@ rtems_task Test_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -33,6 +33,8 @@ rtems_task Task_1_through_3(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -45,6 +45,8 @@ rtems_task Task_3(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -37,6 +37,8 @@ rtems_task Task_2(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -49,6 +49,8 @@ void Task_switch(
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1 #define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -43,6 +43,8 @@ rtems_task Task_3(
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -43,6 +43,8 @@ rtems_task Task_3(
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -72,6 +72,8 @@ rtems_extension Task_exit_extension(
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1 #define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -38,6 +38,8 @@ rtems_task Task_1(
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -95,6 +95,8 @@ void Screen14( void );
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 0 #define CONFIGURE_MAXIMUM_USER_EXTENSIONS 0
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -75,6 +75,8 @@ rtems_timer_service_routine TA2_send_10_to_self(
#define CONFIGURE_MAXIMUM_TIMERS 6 #define CONFIGURE_MAXIMUM_TIMERS 6
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -61,6 +61,8 @@ rtems_task Task5(
#define CONFIGURE_MAXIMUM_SEMAPHORES 10 #define CONFIGURE_MAXIMUM_SEMAPHORES 10
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -53,6 +53,8 @@ rtems_task Task_3(
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 10 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 10
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -49,6 +49,8 @@ rtems_task Task_2(
#define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -36,6 +36,8 @@ rtems_task Task_1(
#define CONFIGURE_MAXIMUM_PARTITIONS 2 #define CONFIGURE_MAXIMUM_PARTITIONS 2
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -52,6 +52,8 @@ rtems_task Task5(
#define CONFIGURE_MAXIMUM_REGIONS 4 #define CONFIGURE_MAXIMUM_REGIONS 4
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -44,6 +44,8 @@ rtems_task Task_2(
#define CONFIGURE_MICROSECONDS_PER_TICK RTEMS_MILLISECONDS_TO_MICROSECONDS(25) #define CONFIGURE_MICROSECONDS_PER_TICK RTEMS_MILLISECONDS_TO_MICROSECONDS(25)
#define CONFIGURE_TICKS_PER_TIMESLICE 1000 #define CONFIGURE_TICKS_PER_TIMESLICE 1000
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -43,6 +43,8 @@ rtems_task Task_1(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -45,6 +45,8 @@ void Get_all_counters( void );
#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES #define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES
#define CONFIGURE_MAXIMUM_PERIODS 10 #define CONFIGURE_MAXIMUM_PERIODS 10
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -34,6 +34,8 @@ rtems_task Task_1(
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_TEST_NEEDS_STUB_DRIVER #define CONFIGURE_TEST_NEEDS_STUB_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -42,6 +42,8 @@ rtems_task Task_1(
#define CONFIGURE_MAXIMUM_TIMERS 2 #define CONFIGURE_MAXIMUM_TIMERS 2
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -35,6 +35,8 @@ rtems_task Task_1(
#define CONFIGURE_MAXIMUM_PORTS 1 #define CONFIGURE_MAXIMUM_PORTS 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -40,6 +40,8 @@ rtems_task Task_1_through_3(
#define CONFIGURE_MAXIMUM_TIMERS 3 #define CONFIGURE_MAXIMUM_TIMERS 3
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -35,6 +35,8 @@ rtems_task Task_1(
#define CONFIGURE_MAXIMUM_REGIONS 1 #define CONFIGURE_MAXIMUM_REGIONS 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -64,6 +64,8 @@ rtems_extensions_table initial_extensions = {
#define CONFIGURE_INITIAL_EXTENSIONS &initial_extensions #define CONFIGURE_INITIAL_EXTENSIONS &initial_extensions
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -35,6 +35,8 @@ int getint( void );
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -36,6 +36,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_SEMAPHORES 1 #define CONFIGURE_MAXIMUM_SEMAPHORES 1
#define CONFIGURE_TICKS_PER_TIMESLICE 0 #define CONFIGURE_TICKS_PER_TIMESLICE 0
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* end of include file */ /* end of include file */

View File

@@ -37,6 +37,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_SEMAPHORES 101 #define CONFIGURE_MAXIMUM_SEMAPHORES 101
#define CONFIGURE_TICKS_PER_TIMESLICE 0 #define CONFIGURE_TICKS_PER_TIMESLICE 0
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* end of include file */ /* end of include file */

View File

@@ -35,7 +35,16 @@ extern posix_api_configuration_table Configuration_POSIX_API;
* one user initialization table is defined. * one user initialization table is defined.
*/ */
#ifndef CONFIGURE_HAS_OWN_INIT_TASK_TABLE #ifdef CONFIGURE_RTEMS_INIT_TASKS_TABLE
#ifdef CONFIGURE_HAS_OWN_INIT_TASK_TABLE
/*
* The user is defining their own table information and setting the
* appropriate variables.
*/
#else
#ifndef CONFIGURE_INIT_TASK_NAME #ifndef CONFIGURE_INIT_TASK_NAME
#define CONFIGURE_INIT_TASK_NAME rtems_build_name( 'U', 'I', '1', ' ' ) #define CONFIGURE_INIT_TASK_NAME rtems_build_name( 'U', 'I', '1', ' ' )
@@ -83,6 +92,13 @@ rtems_initialization_tasks_table Initialization_tasks[] = {
#define CONFIGURE_INIT_TASK_TABLE_SIZE \ #define CONFIGURE_INIT_TASK_TABLE_SIZE \
sizeof(CONFIGURE_INIT_TASK_TABLE) / sizeof(rtems_initialization_tasks_table) sizeof(CONFIGURE_INIT_TASK_TABLE) / sizeof(rtems_initialization_tasks_table)
#endif /* CONFIGURE_HAS_OWN_INIT_TASK_TABLE */
#else /* CONFIGURE_RTEMS_INIT_TASKS_TABLE */
#define CONFIGURE_INIT_TASK_TABLE NULL
#define CONFIGURE_INIT_TASK_TABLE_SIZE 0
#endif #endif
/* /*
@@ -265,26 +281,42 @@ rtems_multiprocessing_table Multiprocessing_configuration = {
#define CONFIGURE_MAXIMUM_POSIX_KEYS 0 #define CONFIGURE_MAXIMUM_POSIX_KEYS 0
#endif #endif
#ifndef CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE #ifdef CONFIGURE_POSIX_INIT_THREAD_TABLE
#ifndef CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT #ifdef CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE
#define CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT Init
/*
* The user is defining their own table information and setting the
* appropriate variables.
*/
#else
#ifndef CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT
#define CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT POSIX_Init
#endif #endif
#ifdef CONFIGURE_INIT #ifdef CONFIGURE_INIT
posix_initialization_tasks_table POSIX_Initialization_tasks[] = { posix_initialization_threads_table POSIX_Initialization_threads[] = {
{ CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT } { CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT }
}; };
#endif #endif
#define CONFIGURE_POSIX_INIT_TASK_TABLE POSIX_Initialization_tasks #define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME POSIX_Initialization_threads
#define CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE \ #define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE \
sizeof(CONFIGURE_POSIX_INIT_TASK_TABLE) / \ sizeof(CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME) / \
sizeof(posix_initialization_tasks_table) sizeof(posix_initialization_threads_table)
#endif /* CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE */ #endif /* CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE */
#else /* CONFIGURE_POSIX_INIT_THREAD_TABLE */
#define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME NULL
#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE 0
#endif
#endif /* RTEMS_POSIX_API */ #endif /* RTEMS_POSIX_API */
/* /*
@@ -412,8 +444,8 @@ posix_api_configuration_table Configuration_POSIX_API = {
CONFIGURE_MAXIMUM_POSIX_MUTEXES, CONFIGURE_MAXIMUM_POSIX_MUTEXES,
CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES, CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES,
CONFIGURE_MAXIMUM_POSIX_KEYS, CONFIGURE_MAXIMUM_POSIX_KEYS,
CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE, CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE,
CONFIGURE_POSIX_INIT_TASK_TABLE CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME
}; };
#endif #endif

View File

@@ -39,6 +39,8 @@ void blow_stack( void );
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -33,6 +33,7 @@ rtems_task Test_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_GLOBAL #define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_GLOBAL
#include <confdefs.h> #include <confdefs.h>

View File

@@ -33,6 +33,8 @@ rtems_task Test_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -40,6 +40,8 @@ rtems_timer_service_routine Delayed_send_event(
#define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -35,6 +35,8 @@ rtems_task Test_task(
#define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -37,6 +37,8 @@ rtems_asr Process_asr( rtems_signal_set );
#define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -35,6 +35,8 @@ rtems_task Test_task(
#define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -35,6 +35,8 @@ rtems_task Test_task(
#define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -36,6 +36,8 @@ rtems_task Test_task(
#define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_MAXIMUM_SEMAPHORES 1 #define CONFIGURE_MAXIMUM_SEMAPHORES 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -40,6 +40,8 @@ void Send_messages( void );
#define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -46,6 +46,8 @@ rtems_task Test_task3(
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
#endif #endif
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -38,6 +38,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_PARTITIONS 1 #define CONFIGURE_MAXIMUM_PARTITIONS 1
#endif #endif
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -40,6 +40,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_PARTITIONS 2 #define CONFIGURE_MAXIMUM_PARTITIONS 2
#endif #endif
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -42,6 +42,8 @@ rtems_task Test_task2(
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
#endif #endif
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -68,6 +68,8 @@ void Exit_test( void );
#define CONFIGURE_MAXIMUM_TIMERS 2 #define CONFIGURE_MAXIMUM_TIMERS 2
#endif #endif
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* variables */ /* variables */

View File

@@ -25,7 +25,7 @@
#define CONFIGURE_INIT #define CONFIGURE_INIT
#include "system.h" #include "system.h"
void *Init( void *POSIX_Init(
void *argument void *argument
) )
{ {

View File

@@ -21,7 +21,7 @@
#include <assert.h> #include <assert.h>
#include <stdio.h> #include <stdio.h>
void *Init( void *POSIX_Init(
void *argument void *argument
); );
@@ -36,9 +36,7 @@ void *Task_1_through_3(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_HAS_OWN_INIT_TASK_TABLE #define CONFIGURE_POSIX_INIT_THREAD_TABLE
#define CONFIGURE_INIT_TASK_TABLE_SIZE 0
#define CONFIGURE_INIT_TASK_TABLE NULL
#include <confdefs.h> #include <confdefs.h>

View File

@@ -33,6 +33,8 @@ rtems_task Application_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
/* /*
* Put the overrides of default configuration parameters here. * Put the overrides of default configuration parameters here.
*/ */

View File

@@ -33,6 +33,8 @@ rtems_task Application_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -29,6 +29,7 @@ rtems_task main_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_ENTRY_POINT main_task #define CONFIGURE_INIT_TASK_ENTRY_POINT main_task
#define CONFIGURE_INIT_TASK_NAME rtems_build_name( 'C', 'T', 'O', 'R' ) #define CONFIGURE_INIT_TASK_NAME rtems_build_name( 'C', 'T', 'O', 'R' )

View File

@@ -26,6 +26,8 @@ rtems_task Init(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -27,10 +27,10 @@ rtems_task Init(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT #define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
#define CONFIGURE_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2) #define CONFIGURE_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2)
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -33,6 +33,8 @@ rtems_task Test_task(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -33,6 +33,8 @@ rtems_task Task_1_through_3(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -45,6 +45,8 @@ rtems_task Task_3(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -37,6 +37,8 @@ rtems_task Task_2(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -49,6 +49,8 @@ void Task_switch(
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1 #define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -43,6 +43,8 @@ rtems_task Task_3(
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -43,6 +43,8 @@ rtems_task Task_3(
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -72,6 +72,8 @@ rtems_extension Task_exit_extension(
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1 #define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -38,6 +38,8 @@ rtems_task Task_1(
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -95,6 +95,8 @@ void Screen14( void );
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 0 #define CONFIGURE_MAXIMUM_USER_EXTENSIONS 0
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -75,6 +75,8 @@ rtems_timer_service_routine TA2_send_10_to_self(
#define CONFIGURE_MAXIMUM_TIMERS 6 #define CONFIGURE_MAXIMUM_TIMERS 6
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -61,6 +61,8 @@ rtems_task Task5(
#define CONFIGURE_MAXIMUM_SEMAPHORES 10 #define CONFIGURE_MAXIMUM_SEMAPHORES 10
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -53,6 +53,8 @@ rtems_task Task_3(
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 10 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 10
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -49,6 +49,8 @@ rtems_task Task_2(
#define CONFIGURE_MAXIMUM_TIMERS 1 #define CONFIGURE_MAXIMUM_TIMERS 1
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -36,6 +36,8 @@ rtems_task Task_1(
#define CONFIGURE_MAXIMUM_PARTITIONS 2 #define CONFIGURE_MAXIMUM_PARTITIONS 2
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -52,6 +52,8 @@ rtems_task Task5(
#define CONFIGURE_MAXIMUM_REGIONS 4 #define CONFIGURE_MAXIMUM_REGIONS 4
#define CONFIGURE_TICKS_PER_TIMESLICE 100 #define CONFIGURE_TICKS_PER_TIMESLICE 100
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -44,6 +44,8 @@ rtems_task Task_2(
#define CONFIGURE_MICROSECONDS_PER_TICK RTEMS_MILLISECONDS_TO_MICROSECONDS(25) #define CONFIGURE_MICROSECONDS_PER_TICK RTEMS_MILLISECONDS_TO_MICROSECONDS(25)
#define CONFIGURE_TICKS_PER_TIMESLICE 1000 #define CONFIGURE_TICKS_PER_TIMESLICE 1000
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -43,6 +43,8 @@ rtems_task Task_1(
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -45,6 +45,8 @@ void Get_all_counters( void );
#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES #define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES
#define CONFIGURE_MAXIMUM_PERIODS 10 #define CONFIGURE_MAXIMUM_PERIODS 10
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -34,6 +34,8 @@ rtems_task Task_1(
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
#define CONFIGURE_TEST_NEEDS_STUB_DRIVER #define CONFIGURE_TEST_NEEDS_STUB_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -42,6 +42,8 @@ rtems_task Task_1(
#define CONFIGURE_MAXIMUM_TIMERS 2 #define CONFIGURE_MAXIMUM_TIMERS 2
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -35,6 +35,8 @@ rtems_task Task_1(
#define CONFIGURE_MAXIMUM_PORTS 1 #define CONFIGURE_MAXIMUM_PORTS 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -40,6 +40,8 @@ rtems_task Task_1_through_3(
#define CONFIGURE_MAXIMUM_TIMERS 3 #define CONFIGURE_MAXIMUM_TIMERS 3
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -35,6 +35,8 @@ rtems_task Task_1(
#define CONFIGURE_MAXIMUM_REGIONS 1 #define CONFIGURE_MAXIMUM_REGIONS 1
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

View File

@@ -64,6 +64,8 @@ rtems_extensions_table initial_extensions = {
#define CONFIGURE_INITIAL_EXTENSIONS &initial_extensions #define CONFIGURE_INITIAL_EXTENSIONS &initial_extensions
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <confdefs.h> #include <confdefs.h>
/* global variables */ /* global variables */

Some files were not shown because too many files have changed in this diff Show More