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/macros/rtems/rtems/tasks.inl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cpukit/rtems/macros/rtems/rtems/tasks.inl') diff --git a/cpukit/rtems/macros/rtems/rtems/tasks.inl b/cpukit/rtems/macros/rtems/rtems/tasks.inl index 778d4867ca..243d0addc7 100644 --- a/cpukit/rtems/macros/rtems/rtems/tasks.inl +++ b/cpukit/rtems/macros/rtems/rtems/tasks.inl @@ -83,5 +83,13 @@ (void) _Watchdog_Remove( &(_the_thread)->Timer ); \ } +/*PAGE + * + * _RTEMS_Tasks_Priority_to_Core + */ + +#define _RTEMS_Tasks_Priority_to_Core( _priority ) \ + ((Priority_Control) (_priority)) + #endif /* end of include file */ -- cgit v1.2.3