RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros | Functions | Variables
ts-default.h File Reference

This header file provides the default validation test suite runner and application configuration. More...

#include <bsp.h>
#include <rtems/bspIo.h>
#include <rtems/chain.h>
#include <rtems/test-info.h>
#include <rtems/testopts.h>
#include <rtems/test.h>
#include <rtems/test-scheduler.h>
#include "ts-config.h"
#include "tx-support.h"
#include <rtems/score/schedulerpriority.h>
#include <rtems/confdefs.h>

Go to the source code of this file.

Macros

#define MAX_TLS_SIZE   TEST_MAXIMUM_TLS_SIZE
 
#define MAX_TASKS   ( TEST_MAXIMUM_TASKS - 1 )
 
#define TASK_ATTRIBUTES   RTEMS_FLOATING_POINT
 
#define TASK_STORAGE_SIZE
 
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
 
#define CONFIGURE_MINIMUM_TASK_STACK_SIZE   TEST_MINIMUM_STACK_SIZE
 
#define CONFIGURE_INTERRUPT_STACK_SIZE   TEST_INTERRUPT_STACK_SIZE
 
#define CONFIGURE_MAXIMUM_BARRIERS   TEST_MAXIMUM_BARRIERS
 
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES   TEST_MAXIMUM_MESSAGE_QUEUES
 
#define CONFIGURE_MAXIMUM_PARTITIONS   TEST_MAXIMUM_PARTITIONS
 
#define CONFIGURE_MAXIMUM_PERIODS   TEST_MAXIMUM_PERIODS
 
#define CONFIGURE_MAXIMUM_SEMAPHORES   TEST_MAXIMUM_SEMAPHORES
 
#define CONFIGURE_MAXIMUM_TASKS   TEST_MAXIMUM_TASKS
 
#define CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE    CONFIGURE_MAXIMUM_TASKS
 
#define CONFIGURE_MAXIMUM_TIMERS   TEST_MAXIMUM_TIMERS
 
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS   TEST_MAXIMUM_USER_EXTENSIONS
 
#define CONFIGURE_MICROSECONDS_PER_TICK   TEST_MICROSECONDS_PER_TICK
 
#define CONFIGURE_TICKS_PER_TIMESLICE   TEST_TICKS_PER_TIMESLICE
 
#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS   0
 
#define CONFIGURE_DISABLE_NEWLIB_REENTRANCY
 
#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
 
#define CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE   MAX_TLS_SIZE
 
#define CONFIGURE_TASK_STACK_ALLOCATOR_AVOIDS_WORK_SPACE
 
#define CONFIGURE_TASK_STACK_ALLOCATOR   test_task_stack_allocate
 
#define CONFIGURE_TASK_STACK_DEALLOCATOR   test_task_stack_deallocate
 
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
 
#define CONFIGURE_INIT_TASK_ARGUMENTS   TEST_RUNNER_ARGUMENT
 
#define CONFIGURE_INIT_TASK_ATTRIBUTES   ( RTEMS_SYSTEM_TASK | TASK_ATTRIBUTES )
 
#define CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE   TASK_STORAGE_SIZE
 
#define CONFIGURE_INIT_TASK_ENTRY_POINT   Runner
 
#define CONFIGURE_INIT_TASK_INITIAL_MODES   TEST_RUNNER_INITIAL_MODES
 
#define CONFIGURE_INIT_TASK_NAME   TEST_RUNNER_NAME
 
#define CONFIGURE_INIT_TASK_PRIORITY   0
 
#define CONFIGURE_INITIAL_EXTENSIONS   { .fatal = FatalInitialExtension }
 
#define CONFIGURE_MAXIMUM_PROCESSORS   1
 
#define SCHEDULER_PRIORITY_ENTRY_POINTS   T_SCHEDULER_ENTRY_POINTS
 
#define CONFIGURE_SCHEDULER_PRIORITY
 
#define CONFIGURE_SCHEDULER_NAME   TEST_SCHEDULER_A_NAME
 
#define CONFIGURE_MAXIMUM_PRIORITY   127
 
#define CONFIGURE_IDLE_TASK_STACK_SIZE   TEST_IDLE_STACK_SIZE
 
#define CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE   test_idle_task_stack_allocate
 
#define CONFIGURE_INIT
 

Functions

void * test_task_stack_allocate (size_t size)
 
void test_task_stack_deallocate (void *stack)
 
void * test_idle_task_stack_allocate (uint32_t cpu_index, size_t *size)
 

Variables

rtems_task_argument test_runner_argument
 
rtems_task_priority test_runner_initial_priority
 
rtems_mode test_runner_initial_modes
 
const Scheduler_Operations T_scheduler_operations [CONFIGURE_MAXIMUM_PROCESSORS]
 

Detailed Description

This header file provides the default validation test suite runner and application configuration.

Macro Definition Documentation

◆ TASK_STORAGE_SIZE

#define TASK_STORAGE_SIZE
Value:
MAX_TLS_SIZE + TEST_MINIMUM_STACK_SIZE + \
CPU_STACK_ALIGNMENT - CPU_HEAP_ALIGNMENT, \
TASK_ATTRIBUTES \
)
#define RTEMS_TASK_STORAGE_SIZE(_size, _attributes)
Gets the recommended task storage area size for the size and task attributes.
Definition: tasks.h:384