15 #ifndef _RTEMS_SCORE_MRSP_H 16 #define _RTEMS_SCORE_MRSP_H 18 #include <rtems/score/cpuopts.h> 20 #if defined(RTEMS_SMP) 64 MRSP_INVALID_NUMBER = 10,
65 MRSP_RESOUCE_IN_USE = 12,
66 MRSP_UNSATISFIED = 13,
67 MRSP_INCORRECT_STATE = 14,
68 MRSP_INVALID_PRIORITY = 19,
69 MRSP_NOT_OWNER_OF_RESOURCE = 23,
76 MRSP_WAIT_FOR_OWNERSHIP = 255
79 typedef struct MRSP_Control MRSP_Control;
100 MRSP_Control *resource;
121 Scheduler_Help_state initial_help_state;
130 volatile MRSP_Status status;
136 struct MRSP_Control {
This is used to manage each element (node) which is placed on a chain.
Definition: chain.h:65
#define ISR_LOCK_MEMBER(_designator)
Defines an ISR lock member.
Definition: isrlock.h:89
This is used to manage a chain.
Definition: chain.h:83
Constants and Structures Related with the Thread Control Block.
uint32_t Priority_Control
The following type defines the control block used to manage thread priorities.
Definition: priority.h:56
This structure defines the Thread Control Block (TCB).
Definition: thread.h:671
Constants and Structures Associated with the Scheduler.
Resource control to manage ownership and rival nodes depending on a resource.
Definition: resource.h:185