RTEMS
Modules | Files | Macros | Enumerations | Functions | Variables
spec:/testsuites/validation/profile

This test suite contains test cases which call in combination all functions included in the space profile. More...

Modules

 spec:/testsuites/validation/c-library
 This test case calls functions of the C Library which are included in the space profile.
 
 spec:/testsuites/validation/classic-barrier
 This test case calls functions of the Barrier Manager which are included in the space profile.
 

Files

file  ts-space-profile.c
 

Macros

#define NAME   rtems_build_name('N', 'A', 'M', 'E')
 
#define INIT_TASK_ATTRIBUTES   RTEMS_DEFAULT_ATTRIBUTES
 
#define MAX_TLS_SIZE   RTEMS_ALIGN_UP(64, RTEMS_TASK_STORAGE_ALIGNMENT)
 
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
 
#define CONFIGURE_MAXIMUM_PROCESSORS   4
 
#define CONFIGURE_MAXIMUM_BARRIERS   1
 
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES   1
 
#define CONFIGURE_MAXIMUM_PARTITIONS   1
 
#define CONFIGURE_MAXIMUM_PERIODS   1
 
#define CONFIGURE_MAXIMUM_SEMAPHORES   1
 
#define CONFIGURE_MAXIMUM_TASKS   1
 
#define CONFIGURE_MAXIMUM_TIMERS   1
 
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS   1
 
#define CONFIGURE_MESSAGE_BUFFER_MEMORY   1
 
#define CONFIGURE_MICROSECONDS_PER_TICK   10000
 
#define CONFIGURE_SCHEDULER_NAME   NAME
 
#define CONFIGURE_INITIAL_EXTENSIONS   { .fatal = fatal_extension }
 
#define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS   0
 
#define CONFIGURE_DISABLE_NEWLIB_REENTRANCY
 
#define CONFIGURE_APPLICATION_DISABLE_FILESYSTEM
 
#define CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION
 
#define CONFIGURE_IDLE_TASK_BODY   _CPU_Thread_Idle_body
 
#define CONFIGURE_INIT
 

Enumerations

enum  { _Sysinit_init_task = 0x00290080 }
 

Functions

static void fatal_extension (rtems_fatal_source source, bool always_set_to_false, rtems_fatal_code error)
 
static void Init (rtems_task_argument arg)
 
 RTEMS_ALIGNED (RTEMS_TASK_STORAGE_ALIGNMENT)
 
static void init_task (void)
 

Variables

static const T_action actions []
 
static const T_config test_config
 
static const rtems_task_config task_config
 
rtems_sysinit_item const _Linker_set__Sysinit_init_task = { init_task }
 

Detailed Description

This test suite contains test cases which call in combination all functions included in the space profile.

Variable Documentation

◆ actions

const T_action actions[]
static
Initial value:
= {
T_report_hash_sha256,
check_task_context,
T_check_rtems_barriers,
T_check_rtems_extensions,
T_check_rtems_message_queues,
T_check_rtems_partitions,
T_check_rtems_periods,
T_check_rtems_semaphores,
T_check_rtems_tasks,
T_check_rtems_timers
}

Definition at line 119 of file ts-space-profile.c.

◆ task_config

const rtems_task_config task_config
static
Initial value:
= {
.name = NAME,
.initial_priority = 1,
.storage_area = init_task_storage,
.storage_size = sizeof(init_task_storage),
.maximum_thread_local_storage_size = MAX_TLS_SIZE,
.initial_modes = RTEMS_DEFAULT_MODES,
.attributes = INIT_TASK_ATTRIBUTES
}
#define RTEMS_DEFAULT_MODES
This task mode constant represents the default mode set.
Definition: modes.h:137

Definition at line 143 of file ts-space-profile.c.

◆ test_config

const T_config test_config
static
Initial value:
= {
.name = "SpaceProfile",
.buf = buffer,
.buf_size = sizeof(buffer),
.putchar = rtems_put_char,
.verbosity = T_VERBOSE,
.now = T_now_clock,
.action_count = T_ARRAY_SIZE(actions),
.actions = actions
}
void rtems_put_char(int c, void *arg)
Puts the character via rtems_putc().

Definition at line 132 of file ts-space-profile.c.