RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Enumerations | Functions
#include <limits.h>
#include <rtems.h>
#include <setjmp.h>
#include <rtems/test-scheduler.h>
#include <rtems/score/statesimpl.h>
#include <rtems/score/threaddispatch.h>
#include <rtems/score/threadimpl.h>
#include "tx-support.h"
#include <rtems/test.h>

Data Structures

struct  RtemsTaskReqRestart_Entry
 
struct  RtemsTaskReqRestart_Context
 Test context for spec:/rtems/task/req/restart test case. More...
 

Macros

#define RESTART_ARGUMENT   0x87654321U
 
#define UNSET_ARGUMENT   1
 

Typedefs

typedef RtemsTaskReqRestart_Context Context
 

Enumerations

enum  RtemsTaskReqRestart_Pre_Id { RtemsTaskReqRestart_Pre_Id_Invalid , RtemsTaskReqRestart_Pre_Id_Executing , RtemsTaskReqRestart_Pre_Id_Other , RtemsTaskReqRestart_Pre_Id_NA }
 
enum  RtemsTaskReqRestart_Pre_Dormant { RtemsTaskReqRestart_Pre_Dormant_Yes , RtemsTaskReqRestart_Pre_Dormant_No , RtemsTaskReqRestart_Pre_Dormant_NA }
 
enum  RtemsTaskReqRestart_Pre_Suspended { RtemsTaskReqRestart_Pre_Suspended_Yes , RtemsTaskReqRestart_Pre_Suspended_No , RtemsTaskReqRestart_Pre_Suspended_NA }
 
enum  RtemsTaskReqRestart_Pre_Restarting { RtemsTaskReqRestart_Pre_Restarting_Yes , RtemsTaskReqRestart_Pre_Restarting_No , RtemsTaskReqRestart_Pre_Restarting_NA }
 
enum  RtemsTaskReqRestart_Pre_Terminating { RtemsTaskReqRestart_Pre_Terminating_Yes , RtemsTaskReqRestart_Pre_Terminating_No , RtemsTaskReqRestart_Pre_Terminating_NA }
 
enum  RtemsTaskReqRestart_Pre_Protected { RtemsTaskReqRestart_Pre_Protected_Yes , RtemsTaskReqRestart_Pre_Protected_No , RtemsTaskReqRestart_Pre_Protected_NA }
 
enum  RtemsTaskReqRestart_Pre_Context { RtemsTaskReqRestart_Pre_Context_Task , RtemsTaskReqRestart_Pre_Context_Interrupt , RtemsTaskReqRestart_Pre_Context_NestedRequest , RtemsTaskReqRestart_Pre_Context_NA }
 
enum  RtemsTaskReqRestart_Pre_State { RtemsTaskReqRestart_Pre_State_Ready , RtemsTaskReqRestart_Pre_State_Blocked , RtemsTaskReqRestart_Pre_State_Enqueued , RtemsTaskReqRestart_Pre_State_NA }
 
enum  RtemsTaskReqRestart_Pre_Timer { RtemsTaskReqRestart_Pre_Timer_Inactive , RtemsTaskReqRestart_Pre_Timer_Active , RtemsTaskReqRestart_Pre_Timer_NA }
 
enum  RtemsTaskReqRestart_Pre_RealPriority { RtemsTaskReqRestart_Pre_RealPriority_Initial , RtemsTaskReqRestart_Pre_RealPriority_Changed , RtemsTaskReqRestart_Pre_RealPriority_NA }
 
enum  RtemsTaskReqRestart_Pre_ThreadDispatch { RtemsTaskReqRestart_Pre_ThreadDispatch_Disabled , RtemsTaskReqRestart_Pre_ThreadDispatch_Enabled , RtemsTaskReqRestart_Pre_ThreadDispatch_NA }
 
enum  RtemsTaskReqRestart_Post_Status {
  RtemsTaskReqRestart_Post_Status_Ok , RtemsTaskReqRestart_Post_Status_InvId , RtemsTaskReqRestart_Post_Status_IncStat , RtemsTaskReqRestart_Post_Status_NoReturn ,
  RtemsTaskReqRestart_Post_Status_NA
}
 
enum  RtemsTaskReqRestart_Post_FatalError { RtemsTaskReqRestart_Post_FatalError_Yes , RtemsTaskReqRestart_Post_FatalError_Nop , RtemsTaskReqRestart_Post_FatalError_NA }
 
enum  RtemsTaskReqRestart_Post_Argument { RtemsTaskReqRestart_Post_Argument_Set , RtemsTaskReqRestart_Post_Argument_Nop , RtemsTaskReqRestart_Post_Argument_NA }
 
enum  RtemsTaskReqRestart_Post_State {
  RtemsTaskReqRestart_Post_State_Dormant , RtemsTaskReqRestart_Post_State_DormantSuspended , RtemsTaskReqRestart_Post_State_Blocked , RtemsTaskReqRestart_Post_State_Ready ,
  RtemsTaskReqRestart_Post_State_Zombie , RtemsTaskReqRestart_Post_State_Nop , RtemsTaskReqRestart_Post_State_NA
}
 
enum  RtemsTaskReqRestart_Post_Enqueued { RtemsTaskReqRestart_Post_Enqueued_Yes , RtemsTaskReqRestart_Post_Enqueued_No , RtemsTaskReqRestart_Post_Enqueued_NA }
 
enum  RtemsTaskReqRestart_Post_Timer { RtemsTaskReqRestart_Post_Timer_Active , RtemsTaskReqRestart_Post_Timer_Inactive , RtemsTaskReqRestart_Post_Timer_NA }
 
enum  RtemsTaskReqRestart_Post_Restarting { RtemsTaskReqRestart_Post_Restarting_Yes , RtemsTaskReqRestart_Post_Restarting_No , RtemsTaskReqRestart_Post_Restarting_NA }
 
enum  RtemsTaskReqRestart_Post_Terminating { RtemsTaskReqRestart_Post_Terminating_Yes , RtemsTaskReqRestart_Post_Terminating_No , RtemsTaskReqRestart_Post_Terminating_NA }
 
enum  RtemsTaskReqRestart_Post_Protected { RtemsTaskReqRestart_Post_Protected_Yes , RtemsTaskReqRestart_Post_Protected_No , RtemsTaskReqRestart_Post_Protected_NA }
 
enum  RtemsTaskReqRestart_Post_RestartExtensions { RtemsTaskReqRestart_Post_RestartExtensions_Yes , RtemsTaskReqRestart_Post_RestartExtensions_Nop , RtemsTaskReqRestart_Post_RestartExtensions_NA }
 
enum  RtemsTaskReqRestart_Post_TerminateExtensions { RtemsTaskReqRestart_Post_TerminateExtensions_Yes , RtemsTaskReqRestart_Post_TerminateExtensions_Nop , RtemsTaskReqRestart_Post_TerminateExtensions_NA }
 

Functions

 T_TEST_CASE_FIXTURE (RtemsTaskReqRestart, &RtemsTaskReqRestart_Fixture)