From 7f6a24abdd1793e394e4d5d49de1f4ca0e00297a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 28 Aug 1995 15:30:29 +0000 Subject: Added unused priority ceiling parameter to rtems_semaphore_create. Rearranged code to created thread handler routines to initialize, start, restart, and "close/delete" a thread. Made internal threads their own object class. This now uses the thread support routines for starting and initializing a thread. Insured deleted tasks are freed to the Inactive pool associated with the correct Information block. Added an RTEMS API specific data area to the thread control block. Beginnings of removing the word "rtems" from the core. --- cpukit/rtems/include/rtems/rtems/types.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'cpukit/rtems/include/rtems/rtems/types.h') diff --git a/cpukit/rtems/include/rtems/rtems/types.h b/cpukit/rtems/include/rtems/rtems/types.h index 2a5cb6f4fd..e4d7c11065 100644 --- a/cpukit/rtems/include/rtems/rtems/types.h +++ b/cpukit/rtems/include/rtems/rtems/types.h @@ -21,6 +21,8 @@ extern "C" { #endif #include +#include +#include /* * 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 -- cgit v1.2.3