forked from Imagelibrary/rtems
tests now specify whether using posix initialization threads table
or rtems initialization table in configuration table
This commit is contained in:
@@ -35,7 +35,16 @@ extern posix_api_configuration_table Configuration_POSIX_API;
|
||||
* 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
|
||||
#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 \
|
||||
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
|
||||
|
||||
/*
|
||||
@@ -265,26 +281,42 @@ rtems_multiprocessing_table Multiprocessing_configuration = {
|
||||
#define CONFIGURE_MAXIMUM_POSIX_KEYS 0
|
||||
#endif
|
||||
|
||||
#ifndef CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE
|
||||
#ifdef CONFIGURE_POSIX_INIT_THREAD_TABLE
|
||||
|
||||
#ifndef CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT
|
||||
#define CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT Init
|
||||
#ifdef CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE
|
||||
|
||||
/*
|
||||
* 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
|
||||
|
||||
#ifdef CONFIGURE_INIT
|
||||
posix_initialization_tasks_table POSIX_Initialization_tasks[] = {
|
||||
{ CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT }
|
||||
posix_initialization_threads_table POSIX_Initialization_threads[] = {
|
||||
{ CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT }
|
||||
};
|
||||
#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 \
|
||||
sizeof(CONFIGURE_POSIX_INIT_TASK_TABLE) / \
|
||||
sizeof(posix_initialization_tasks_table)
|
||||
#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE \
|
||||
sizeof(CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME) / \
|
||||
sizeof(posix_initialization_threads_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 */
|
||||
|
||||
/*
|
||||
@@ -412,8 +444,8 @@ posix_api_configuration_table Configuration_POSIX_API = {
|
||||
CONFIGURE_MAXIMUM_POSIX_MUTEXES,
|
||||
CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES,
|
||||
CONFIGURE_MAXIMUM_POSIX_KEYS,
|
||||
CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE,
|
||||
CONFIGURE_POSIX_INIT_TASK_TABLE
|
||||
CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE,
|
||||
CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -35,7 +35,16 @@ extern posix_api_configuration_table Configuration_POSIX_API;
|
||||
* 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
|
||||
#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 \
|
||||
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
|
||||
|
||||
/*
|
||||
@@ -265,26 +281,42 @@ rtems_multiprocessing_table Multiprocessing_configuration = {
|
||||
#define CONFIGURE_MAXIMUM_POSIX_KEYS 0
|
||||
#endif
|
||||
|
||||
#ifndef CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE
|
||||
#ifdef CONFIGURE_POSIX_INIT_THREAD_TABLE
|
||||
|
||||
#ifndef CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT
|
||||
#define CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT Init
|
||||
#ifdef CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE
|
||||
|
||||
/*
|
||||
* 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
|
||||
|
||||
#ifdef CONFIGURE_INIT
|
||||
posix_initialization_tasks_table POSIX_Initialization_tasks[] = {
|
||||
{ CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT }
|
||||
posix_initialization_threads_table POSIX_Initialization_threads[] = {
|
||||
{ CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT }
|
||||
};
|
||||
#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 \
|
||||
sizeof(CONFIGURE_POSIX_INIT_TASK_TABLE) / \
|
||||
sizeof(posix_initialization_tasks_table)
|
||||
#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE \
|
||||
sizeof(CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME) / \
|
||||
sizeof(posix_initialization_threads_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 */
|
||||
|
||||
/*
|
||||
@@ -412,8 +444,8 @@ posix_api_configuration_table Configuration_POSIX_API = {
|
||||
CONFIGURE_MAXIMUM_POSIX_MUTEXES,
|
||||
CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES,
|
||||
CONFIGURE_MAXIMUM_POSIX_KEYS,
|
||||
CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE,
|
||||
CONFIGURE_POSIX_INIT_TASK_TABLE
|
||||
CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE,
|
||||
CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -39,6 +39,8 @@ void blow_stack( void );
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -33,6 +33,7 @@ rtems_task Test_task(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_GLOBAL
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
@@ -33,6 +33,8 @@ rtems_task Test_task(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -40,6 +40,8 @@ rtems_timer_service_routine Delayed_send_event(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -35,6 +35,8 @@ rtems_task Test_task(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -37,6 +37,8 @@ rtems_asr Process_asr( rtems_signal_set );
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -35,6 +35,8 @@ rtems_task Test_task(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -35,6 +35,8 @@ rtems_task Test_task(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -36,6 +36,8 @@ rtems_task Test_task(
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
||||
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -40,6 +40,8 @@ void Send_messages( void );
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
||||
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -46,6 +46,8 @@ rtems_task Test_task3(
|
||||
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
|
||||
#endif
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -38,6 +38,8 @@ rtems_task Init(
|
||||
#define CONFIGURE_MAXIMUM_PARTITIONS 1
|
||||
#endif
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -40,6 +40,8 @@ rtems_task Init(
|
||||
#define CONFIGURE_MAXIMUM_PARTITIONS 2
|
||||
#endif
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -42,6 +42,8 @@ rtems_task Test_task2(
|
||||
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
|
||||
#endif
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -68,6 +68,8 @@ void Exit_test( void );
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 2
|
||||
#endif
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#define CONFIGURE_INIT
|
||||
#include "system.h"
|
||||
|
||||
void *Init(
|
||||
void *POSIX_Init(
|
||||
void *argument
|
||||
)
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
||||
void *Init(
|
||||
void *POSIX_Init(
|
||||
void *argument
|
||||
);
|
||||
|
||||
@@ -36,9 +36,7 @@ void *Task_1_through_3(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_HAS_OWN_INIT_TASK_TABLE
|
||||
#define CONFIGURE_INIT_TASK_TABLE_SIZE 0
|
||||
#define CONFIGURE_INIT_TASK_TABLE NULL
|
||||
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
|
||||
@@ -33,6 +33,8 @@ rtems_task Application_task(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
/*
|
||||
* Put the overrides of default configuration parameters here.
|
||||
*/
|
||||
|
||||
@@ -33,6 +33,8 @@ rtems_task Application_task(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -29,6 +29,7 @@ rtems_task main_task(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_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_NAME rtems_build_name( 'C', 'T', 'O', 'R' )
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ rtems_task Init(
|
||||
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -27,10 +27,10 @@ rtems_task Init(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_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_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2)
|
||||
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -33,6 +33,8 @@ rtems_task Test_task(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -33,6 +33,8 @@ rtems_task Task_1_through_3(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -45,6 +45,8 @@ rtems_task Task_3(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -37,6 +37,8 @@ rtems_task Task_2(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -49,6 +49,8 @@ void Task_switch(
|
||||
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -43,6 +43,8 @@ rtems_task Task_3(
|
||||
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -43,6 +43,8 @@ rtems_task Task_3(
|
||||
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -72,6 +72,8 @@ rtems_extension Task_exit_extension(
|
||||
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -38,6 +38,8 @@ rtems_task Task_1(
|
||||
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -95,6 +95,8 @@ void Screen14( void );
|
||||
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 0
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -75,6 +75,8 @@ rtems_timer_service_routine TA2_send_10_to_self(
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 6
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -61,6 +61,8 @@ rtems_task Task5(
|
||||
#define CONFIGURE_MAXIMUM_SEMAPHORES 10
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -53,6 +53,8 @@ rtems_task Task_3(
|
||||
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 10
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -49,6 +49,8 @@ rtems_task Task_2(
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -36,6 +36,8 @@ rtems_task Task_1(
|
||||
#define CONFIGURE_MAXIMUM_PARTITIONS 2
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -52,6 +52,8 @@ rtems_task Task5(
|
||||
#define CONFIGURE_MAXIMUM_REGIONS 4
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -44,6 +44,8 @@ rtems_task Task_2(
|
||||
#define CONFIGURE_MICROSECONDS_PER_TICK RTEMS_MILLISECONDS_TO_MICROSECONDS(25)
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 1000
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -43,6 +43,8 @@ rtems_task Task_1(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -45,6 +45,8 @@ void Get_all_counters( void );
|
||||
#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES
|
||||
#define CONFIGURE_MAXIMUM_PERIODS 10
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -34,6 +34,8 @@ rtems_task Task_1(
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_STUB_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -42,6 +42,8 @@ rtems_task Task_1(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 2
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -35,6 +35,8 @@ rtems_task Task_1(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_PORTS 1
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -40,6 +40,8 @@ rtems_task Task_1_through_3(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 3
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -35,6 +35,8 @@ rtems_task Task_1(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_REGIONS 1
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -64,6 +64,8 @@ rtems_extensions_table initial_extensions = {
|
||||
|
||||
#define CONFIGURE_INITIAL_EXTENSIONS &initial_extensions
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -35,6 +35,8 @@ int getint( void );
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -36,6 +36,8 @@ rtems_task Init(
|
||||
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 0
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* end of include file */
|
||||
|
||||
@@ -37,6 +37,8 @@ rtems_task Init(
|
||||
#define CONFIGURE_MAXIMUM_SEMAPHORES 101
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 0
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* end of include file */
|
||||
|
||||
@@ -35,7 +35,16 @@ extern posix_api_configuration_table Configuration_POSIX_API;
|
||||
* 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
|
||||
#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 \
|
||||
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
|
||||
|
||||
/*
|
||||
@@ -265,26 +281,42 @@ rtems_multiprocessing_table Multiprocessing_configuration = {
|
||||
#define CONFIGURE_MAXIMUM_POSIX_KEYS 0
|
||||
#endif
|
||||
|
||||
#ifndef CONFIGURE_POSIX_HAS_OWN_INIT_TASK_TABLE
|
||||
#ifdef CONFIGURE_POSIX_INIT_THREAD_TABLE
|
||||
|
||||
#ifndef CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT
|
||||
#define CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT Init
|
||||
#ifdef CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE
|
||||
|
||||
/*
|
||||
* 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
|
||||
|
||||
#ifdef CONFIGURE_INIT
|
||||
posix_initialization_tasks_table POSIX_Initialization_tasks[] = {
|
||||
{ CONFIGURE_POSIX_INIT_TASK_ENTRY_POINT }
|
||||
posix_initialization_threads_table POSIX_Initialization_threads[] = {
|
||||
{ CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT }
|
||||
};
|
||||
#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 \
|
||||
sizeof(CONFIGURE_POSIX_INIT_TASK_TABLE) / \
|
||||
sizeof(posix_initialization_tasks_table)
|
||||
#define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE \
|
||||
sizeof(CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME) / \
|
||||
sizeof(posix_initialization_threads_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 */
|
||||
|
||||
/*
|
||||
@@ -412,8 +444,8 @@ posix_api_configuration_table Configuration_POSIX_API = {
|
||||
CONFIGURE_MAXIMUM_POSIX_MUTEXES,
|
||||
CONFIGURE_MAXIMUM_POSIX_CONDITION_VARIABLES,
|
||||
CONFIGURE_MAXIMUM_POSIX_KEYS,
|
||||
CONFIGURE_POSIX_INIT_TASK_TABLE_SIZE,
|
||||
CONFIGURE_POSIX_INIT_TASK_TABLE
|
||||
CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE,
|
||||
CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -39,6 +39,8 @@ void blow_stack( void );
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -33,6 +33,7 @@ rtems_task Test_task(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_GLOBAL
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
@@ -33,6 +33,8 @@ rtems_task Test_task(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -40,6 +40,8 @@ rtems_timer_service_routine Delayed_send_event(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -35,6 +35,8 @@ rtems_task Test_task(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -37,6 +37,8 @@ rtems_asr Process_asr( rtems_signal_set );
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -35,6 +35,8 @@ rtems_task Test_task(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -35,6 +35,8 @@ rtems_task Test_task(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -36,6 +36,8 @@ rtems_task Test_task(
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
||||
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -40,6 +40,8 @@ void Send_messages( void );
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
||||
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -46,6 +46,8 @@ rtems_task Test_task3(
|
||||
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
|
||||
#endif
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -38,6 +38,8 @@ rtems_task Init(
|
||||
#define CONFIGURE_MAXIMUM_PARTITIONS 1
|
||||
#endif
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -40,6 +40,8 @@ rtems_task Init(
|
||||
#define CONFIGURE_MAXIMUM_PARTITIONS 2
|
||||
#endif
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -42,6 +42,8 @@ rtems_task Test_task2(
|
||||
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 1
|
||||
#endif
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -68,6 +68,8 @@ void Exit_test( void );
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 2
|
||||
#endif
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* variables */
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#define CONFIGURE_INIT
|
||||
#include "system.h"
|
||||
|
||||
void *Init(
|
||||
void *POSIX_Init(
|
||||
void *argument
|
||||
)
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
||||
void *Init(
|
||||
void *POSIX_Init(
|
||||
void *argument
|
||||
);
|
||||
|
||||
@@ -36,9 +36,7 @@ void *Task_1_through_3(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_HAS_OWN_INIT_TASK_TABLE
|
||||
#define CONFIGURE_INIT_TASK_TABLE_SIZE 0
|
||||
#define CONFIGURE_INIT_TASK_TABLE NULL
|
||||
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
|
||||
@@ -33,6 +33,8 @@ rtems_task Application_task(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
/*
|
||||
* Put the overrides of default configuration parameters here.
|
||||
*/
|
||||
|
||||
@@ -33,6 +33,8 @@ rtems_task Application_task(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -29,6 +29,7 @@ rtems_task main_task(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_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_NAME rtems_build_name( 'C', 'T', 'O', 'R' )
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ rtems_task Init(
|
||||
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -27,10 +27,10 @@ rtems_task Init(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_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_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 2)
|
||||
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -33,6 +33,8 @@ rtems_task Test_task(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -33,6 +33,8 @@ rtems_task Task_1_through_3(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -45,6 +45,8 @@ rtems_task Task_3(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -37,6 +37,8 @@ rtems_task Task_2(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -49,6 +49,8 @@ void Task_switch(
|
||||
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -43,6 +43,8 @@ rtems_task Task_3(
|
||||
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -43,6 +43,8 @@ rtems_task Task_3(
|
||||
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -72,6 +72,8 @@ rtems_extension Task_exit_extension(
|
||||
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -38,6 +38,8 @@ rtems_task Task_1(
|
||||
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -95,6 +95,8 @@ void Screen14( void );
|
||||
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 0
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -75,6 +75,8 @@ rtems_timer_service_routine TA2_send_10_to_self(
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 6
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -61,6 +61,8 @@ rtems_task Task5(
|
||||
#define CONFIGURE_MAXIMUM_SEMAPHORES 10
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -53,6 +53,8 @@ rtems_task Task_3(
|
||||
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 10
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -49,6 +49,8 @@ rtems_task Task_2(
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 1
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -36,6 +36,8 @@ rtems_task Task_1(
|
||||
#define CONFIGURE_MAXIMUM_PARTITIONS 2
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -52,6 +52,8 @@ rtems_task Task5(
|
||||
#define CONFIGURE_MAXIMUM_REGIONS 4
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 100
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -44,6 +44,8 @@ rtems_task Task_2(
|
||||
#define CONFIGURE_MICROSECONDS_PER_TICK RTEMS_MILLISECONDS_TO_MICROSECONDS(25)
|
||||
#define CONFIGURE_TICKS_PER_TIMESLICE 1000
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -43,6 +43,8 @@ rtems_task Task_1(
|
||||
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -45,6 +45,8 @@ void Get_all_counters( void );
|
||||
#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES
|
||||
#define CONFIGURE_MAXIMUM_PERIODS 10
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -34,6 +34,8 @@ rtems_task Task_1(
|
||||
#define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER
|
||||
#define CONFIGURE_TEST_NEEDS_STUB_DRIVER
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -42,6 +42,8 @@ rtems_task Task_1(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 2
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -35,6 +35,8 @@ rtems_task Task_1(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_PORTS 1
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -40,6 +40,8 @@ rtems_task Task_1_through_3(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TIMERS 3
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -35,6 +35,8 @@ rtems_task Task_1(
|
||||
|
||||
#define CONFIGURE_MAXIMUM_REGIONS 1
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
@@ -64,6 +64,8 @@ rtems_extensions_table initial_extensions = {
|
||||
|
||||
#define CONFIGURE_INITIAL_EXTENSIONS &initial_extensions
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#include <confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user