RTEMS
Files | Classes | Macros | Enumerations | Functions | Variables
spec:/rtems/task/req/ident

Files

file  tc-task-ident.c
 

Classes

struct  RtemsTaskReqIdent_Context
 Test context for spec:/rtems/task/req/ident test case. More...
 

Macros

#define TASK_ATTRIBUTES   RTEMS_DEFAULT_ATTRIBUTES
 
#define MAX_TLS_SIZE   RTEMS_ALIGN_UP( 64, RTEMS_TASK_STORAGE_ALIGNMENT )
 

Enumerations

enum  RtemsTaskReqIdent_Pre_Pre { RtemsTaskReqIdent_Pre_Pre_Self, RtemsTaskReqIdent_Pre_Pre_Generic, RtemsTaskReqIdent_Pre_Pre_NA }
 
enum  RtemsTaskReqIdent_Post_Post { RtemsTaskReqIdent_Post_Post_OkAndSelfId, RtemsTaskReqIdent_Post_Post_Generic, RtemsTaskReqIdent_Post_Post_NA }
 

Functions

static rtems_status_code ClassicTaskIdentAction (rtems_name name, uint32_t node, rtems_id *id)
 
static void RtemsTaskReqIdent_Pre_Pre_Prepare (RtemsTaskReqIdent_Context *ctx, RtemsTaskReqIdent_Pre_Pre state)
 
static void RtemsTaskReqIdent_Post_Post_Check (RtemsTaskReqIdent_Context *ctx, RtemsTaskReqIdent_Post_Post state)
 
static void RtemsTaskReqIdent_Setup (RtemsTaskReqIdent_Context *ctx)
 
static void RtemsTaskReqIdent_Setup_Wrap (void *arg)
 
static void RtemsTaskReqIdent_Teardown (RtemsTaskReqIdent_Context *ctx)
 
static void RtemsTaskReqIdent_Teardown_Wrap (void *arg)
 
static size_t RtemsTaskReqIdent_Scope (void *arg, char *buf, size_t n)
 
static void RtemsTaskReqIdent_Action (RtemsTaskReqIdent_Context *ctx)
 
 T_TEST_CASE_FIXTURE (RtemsTaskReqIdent, &RtemsTaskReqIdent_Fixture)
 

Variables

static RtemsTaskReqIdent_Context RtemsTaskReqIdent_Instance
 
static const char *const RtemsTaskReqIdent_PreDesc_Pre []
 
static const char *const *const RtemsTaskReqIdent_PreDesc []
 
static char ClassicTaskIdentStorage [RTEMS_TASK_STORAGE_SIZE(MAX_TLS_SIZE+RTEMS_MINIMUM_STACK_SIZE, TASK_ATTRIBUTES)]
 
static const rtems_task_config ClassicTaskIdentConfig
 
static T_fixture RtemsTaskReqIdent_Fixture
 
static const uint8_t RtemsTaskReqIdent_TransitionMap [][1]
 
struct {
   uint8_t   Skip: 1
 
   uint8_t   Pre_Pre_NA: 1
 
RtemsTaskReqIdent_TransitionInfo []
 

Detailed Description

Variable Documentation

◆ ClassicTaskIdentConfig

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

Definition at line 135 of file tc-task-ident.c.

◆ RtemsTaskReqIdent_Fixture

T_fixture RtemsTaskReqIdent_Fixture
static
Initial value:
= {
.setup = RtemsTaskReqIdent_Setup_Wrap,
.stop = NULL,
.teardown = RtemsTaskReqIdent_Teardown_Wrap,
.scope = RtemsTaskReqIdent_Scope,
.initial_context = &RtemsTaskReqIdent_Instance
}

Definition at line 243 of file tc-task-ident.c.

◆ RtemsTaskReqIdent_PreDesc

const char* const* const RtemsTaskReqIdent_PreDesc[]
static
Initial value:
= {
RtemsTaskReqIdent_PreDesc_Pre,
NULL
}

Definition at line 109 of file tc-task-ident.c.

◆ RtemsTaskReqIdent_PreDesc_Pre

const char* const RtemsTaskReqIdent_PreDesc_Pre[]
static
Initial value:
= {
"Self",
"Generic",
"NA"
}

Definition at line 103 of file tc-task-ident.c.

◆ RtemsTaskReqIdent_TransitionInfo

const { ... } RtemsTaskReqIdent_TransitionInfo[]
Initial value:
= {
{
0, 0
}, {
0, 0
}
}

◆ RtemsTaskReqIdent_TransitionMap

const uint8_t RtemsTaskReqIdent_TransitionMap[][1]
static
Initial value:
= {
{
RtemsTaskReqIdent_Post_Post_OkAndSelfId
}, {
RtemsTaskReqIdent_Post_Post_Generic
}
}

Definition at line 251 of file tc-task-ident.c.