diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/rtems/headers/types.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/c/src/exec/rtems/headers/types.h b/c/src/exec/rtems/headers/types.h index 2a5cb6f4fd..e4d7c11065 100644 --- a/c/src/exec/rtems/headers/types.h +++ b/c/src/exec/rtems/headers/types.h @@ -21,6 +21,8 @@ extern "C" { #endif #include <rtems/object.h> +#include <rtems/priority.h> +#include <rtems/modes.h> /* * RTEMS basic type definitions @@ -48,6 +50,19 @@ typedef Context_Control rtems_context; typedef Context_Control_fp rtems_context_fp; typedef CPU_Interrupt_frame rtems_interrupt_frame; +/* + * Define the type for an RTEMS API task priority. + */ + +typedef Priority_Control rtems_task_priority; + +#define RTEMS_NO_PRIORITY RTEMS_CURRENT_PRIORITY +/* + * Define the type for an RTEMS API task mode. + */ + +typedef Modes_Control rtems_mode; + #ifdef __cplusplus } #endif |