diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-08 12:05:44 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-12 13:25:41 +0100 |
commit | 2fa014db14b819b829535170a93fa25b599c5a34 (patch) | |
tree | 24fc3d4118179f77d417e1342a6d2ee77e192ec1 /cpukit/include/rtems/rtems/tasks.h | |
parent | score: Avoid complex include in heap.h (diff) | |
download | rtems-2fa014db14b819b829535170a93fa25b599c5a34.tar.bz2 |
rtems: Avoid include of <rtems/score/thread.h>
Update #3598.
Diffstat (limited to 'cpukit/include/rtems/rtems/tasks.h')
-rw-r--r-- | cpukit/include/rtems/rtems/tasks.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpukit/include/rtems/rtems/tasks.h b/cpukit/include/rtems/rtems/tasks.h index e0272e06f9..3d0b739cd7 100644 --- a/cpukit/include/rtems/rtems/tasks.h +++ b/cpukit/include/rtems/rtems/tasks.h @@ -19,7 +19,6 @@ #define _RTEMS_RTEMS_TASKS_H #include <rtems/score/scheduler.h> -#include <rtems/score/thread.h> #include <rtems/rtems/attr.h> #include <rtems/rtems/status.h> #include <rtems/rtems/types.h> @@ -87,10 +86,12 @@ typedef uint32_t rtems_task_priority; */ #define RTEMS_CURRENT_PRIORITY PRIORITY_MINIMUM +struct _Thread_Control; + /** * External API name for Thread_Control */ -typedef Thread_Control rtems_tcb; +typedef struct _Thread_Control rtems_tcb; /** * The following defines the "return type" of an RTEMS task. @@ -100,7 +101,7 @@ typedef void rtems_task; /** * The following defines the argument to an RTEMS task. */ -typedef Thread_Entry_numeric_type rtems_task_argument; +typedef CPU_Uint32ptr rtems_task_argument; /** * The following defines the type for the entry point of an RTEMS task. |