RTEMS
Classes | Macros | Enumerations | Functions | Variables
#include "tr-object-ident.h"
#include <rtems/test.h>

Go to the source code of this file.

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 []