RTEMS 6.1-rc1
Data Structures | Macros | Typedefs | Enumerations | Functions
#include <rtems.h>
#include <rtems/score/threadimpl.h>
#include "ts-config.h"
#include "tx-support.h"
#include <rtems/test.h>

Data Structures

struct  RtemsTaskReqSetScheduler_Entry
 
struct  RtemsTaskReqSetScheduler_Context
 Test context for spec:/rtems/task/req/set-scheduler test case. More...
 

Macros

#define EVENT_OBTAIN_MUTEX_A   RTEMS_EVENT_0
 
#define EVENT_RELEASE_MUTEX_A   RTEMS_EVENT_1
 
#define EVENT_OBTAIN_MUTEX_B   RTEMS_EVENT_2
 
#define EVENT_RELEASE_MUTEX_B   RTEMS_EVENT_3
 
#define EVENT_PIN   RTEMS_EVENT_4
 
#define EVENT_UNPIN   RTEMS_EVENT_5
 
#define EVENT_SET_LOW_PRIO   RTEMS_EVENT_6
 
#define EVENT_RUNNER_SYNC_0   RTEMS_EVENT_7
 
#define EVENT_RUNNER_SYNC_1   RTEMS_EVENT_8
 

Typedefs

typedef RtemsTaskReqSetScheduler_Context Context
 

Enumerations

enum  RtemsTaskReqSetScheduler_Pre_TaskId { RtemsTaskReqSetScheduler_Pre_TaskId_Task , RtemsTaskReqSetScheduler_Pre_TaskId_Invalid , RtemsTaskReqSetScheduler_Pre_TaskId_NA }
 
enum  RtemsTaskReqSetScheduler_Pre_Scheduler { RtemsTaskReqSetScheduler_Pre_Scheduler_Home , RtemsTaskReqSetScheduler_Pre_Scheduler_Other , RtemsTaskReqSetScheduler_Pre_Scheduler_NA }
 
enum  RtemsTaskReqSetScheduler_Pre_SchedulerHasCPU { RtemsTaskReqSetScheduler_Pre_SchedulerHasCPU_Yes , RtemsTaskReqSetScheduler_Pre_SchedulerHasCPU_No , RtemsTaskReqSetScheduler_Pre_SchedulerHasCPU_NA }
 
enum  RtemsTaskReqSetScheduler_Pre_SchedulerId { RtemsTaskReqSetScheduler_Pre_SchedulerId_Scheduler , RtemsTaskReqSetScheduler_Pre_SchedulerId_Invalid , RtemsTaskReqSetScheduler_Pre_SchedulerId_NA }
 
enum  RtemsTaskReqSetScheduler_Pre_Priority { RtemsTaskReqSetScheduler_Pre_Priority_Valid , RtemsTaskReqSetScheduler_Pre_Priority_Invalid , RtemsTaskReqSetScheduler_Pre_Priority_NA }
 
enum  RtemsTaskReqSetScheduler_Pre_HomePriority { RtemsTaskReqSetScheduler_Pre_HomePriority_Real , RtemsTaskReqSetScheduler_Pre_HomePriority_More , RtemsTaskReqSetScheduler_Pre_HomePriority_NA }
 
enum  RtemsTaskReqSetScheduler_Pre_EligiblePriorities { RtemsTaskReqSetScheduler_Pre_EligiblePriorities_OnlyOne , RtemsTaskReqSetScheduler_Pre_EligiblePriorities_More , RtemsTaskReqSetScheduler_Pre_EligiblePriorities_NA }
 
enum  RtemsTaskReqSetScheduler_Pre_Pinned { RtemsTaskReqSetScheduler_Pre_Pinned_Yes , RtemsTaskReqSetScheduler_Pre_Pinned_No , RtemsTaskReqSetScheduler_Pre_Pinned_NA }
 
enum  RtemsTaskReqSetScheduler_Pre_TaskState { RtemsTaskReqSetScheduler_Pre_TaskState_Ready , RtemsTaskReqSetScheduler_Pre_TaskState_Blocked , RtemsTaskReqSetScheduler_Pre_TaskState_Enqueued , RtemsTaskReqSetScheduler_Pre_TaskState_NA }
 
enum  RtemsTaskReqSetScheduler_Pre_AffinitySupported { RtemsTaskReqSetScheduler_Pre_AffinitySupported_Yes , RtemsTaskReqSetScheduler_Pre_AffinitySupported_No , RtemsTaskReqSetScheduler_Pre_AffinitySupported_NA }
 
enum  RtemsTaskReqSetScheduler_Post_Status {
  RtemsTaskReqSetScheduler_Post_Status_Ok , RtemsTaskReqSetScheduler_Post_Status_InvAddr , RtemsTaskReqSetScheduler_Post_Status_InvId , RtemsTaskReqSetScheduler_Post_Status_InvPrio ,
  RtemsTaskReqSetScheduler_Post_Status_InUse , RtemsTaskReqSetScheduler_Post_Status_Unsat , RtemsTaskReqSetScheduler_Post_Status_NA
}
 
enum  RtemsTaskReqSetScheduler_Post_Scheduler { RtemsTaskReqSetScheduler_Post_Scheduler_Set , RtemsTaskReqSetScheduler_Post_Scheduler_Nop , RtemsTaskReqSetScheduler_Post_Scheduler_NA }
 
enum  RtemsTaskReqSetScheduler_Post_Priority { RtemsTaskReqSetScheduler_Post_Priority_Set , RtemsTaskReqSetScheduler_Post_Priority_Nop , RtemsTaskReqSetScheduler_Post_Priority_NA }
 

Functions

 T_TEST_CASE_FIXTURE (RtemsTaskReqSetScheduler, &RtemsTaskReqSetScheduler_Fixture)