RTEMS
Classes | Macros | Enumerations | Functions | Variables
#include <rtems.h>
#include <rtems/test.h>

Go to the source code of this file.

Classes

struct  RtemsPartReqReturnBuffer_Context
 Test context for spec:/rtems/part/req/return-buffer test case. More...
 

Macros

#define PART_NAME   rtems_build_name( 'N', 'A', 'M', 'E' )
 
#define BUFFER_COUNT   1
 
#define BUFFER_SIZE   ( 2 * sizeof( void * ) )
 

Enumerations

enum  RtemsPartReqReturnBuffer_Pre_Id { RtemsPartReqReturnBuffer_Pre_Id_Id, RtemsPartReqReturnBuffer_Pre_Id_Invalid, RtemsPartReqReturnBuffer_Pre_Id_NA }
 
enum  RtemsPartReqReturnBuffer_Pre_InUse { RtemsPartReqReturnBuffer_Pre_InUse_True, RtemsPartReqReturnBuffer_Pre_InUse_False, RtemsPartReqReturnBuffer_Pre_InUse_NA }
 
enum  RtemsPartReqReturnBuffer_Post_Status { RtemsPartReqReturnBuffer_Post_Status_Ok, RtemsPartReqReturnBuffer_Post_Status_InvId, RtemsPartReqReturnBuffer_Post_Status_InUse, RtemsPartReqReturnBuffer_Post_Status_NA }
 

Functions

static RTEMS_ALIGNED (RTEMS_PARTITION_ALIGNMENT)
 
static void RtemsPartReqReturnBuffer_Pre_InUse_Prepare (RtemsPartReqReturnBuffer_Context *ctx, RtemsPartReqReturnBuffer_Pre_InUse state)
 
static void RtemsPartReqReturnBuffer_Post_Status_Check (RtemsPartReqReturnBuffer_Context *ctx, RtemsPartReqReturnBuffer_Post_Status state)
 
static size_t RtemsPartReqReturnBuffer_Scope (void *arg, char *buf, size_t n)
 
static void RtemsPartReqReturnBuffer_Prepare (RtemsPartReqReturnBuffer_Context *ctx)
 
static void RtemsPartReqReturnBuffer_Action (RtemsPartReqReturnBuffer_Context *ctx)
 
static void RtemsPartReqReturnBuffer_Cleanup (RtemsPartReqReturnBuffer_Context *ctx)
 
 T_TEST_CASE_FIXTURE (RtemsPartReqReturnBuffer, &RtemsPartReqReturnBuffer_Fixture)
 

Variables

static RtemsPartReqReturnBuffer_Context RtemsPartReqReturnBuffer_Instance
 
static const char *const RtemsPartReqReturnBuffer_PreDesc_Id []
 
static const char *const RtemsPartReqReturnBuffer_PreDesc_InUse []
 
static const char *const *const RtemsPartReqReturnBuffer_PreDesc []
 
static T_fixture RtemsPartReqReturnBuffer_Fixture
 
static const uint8_t RtemsPartReqReturnBuffer_TransitionMap [][1]
 
struct {
   uint8_t   Skip: 1
 
   uint8_t   Pre_Id_NA: 1
 
   uint8_t   Pre_InUse_NA: 1
 
RtemsPartReqReturnBuffer_TransitionInfo []