diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-06-28 08:30:11 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-06-28 08:30:11 +0200 |
commit | 5803f3738f8f97c2188bd36274e60602af515e7f (patch) | |
tree | c1af13d31586640d1e239396216f315adda42ad0 /cpukit/libmisc/monitor | |
parent | arm: Return the current handler from arm_cp15_set_exception_handler (diff) | |
download | rtems-5803f3738f8f97c2188bd36274e60602af515e7f.tar.bz2 |
score: Add and use _Thread_Get_unmapped_priority().
Add and use _Thread_Get_unmapped_real_priority().
Diffstat (limited to 'cpukit/libmisc/monitor')
-rw-r--r-- | cpukit/libmisc/monitor/mon-task.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cpukit/libmisc/monitor/mon-task.c b/cpukit/libmisc/monitor/mon-task.c index e1126b6457..bb2c49e77f 100644 --- a/cpukit/libmisc/monitor/mon-task.c +++ b/cpukit/libmisc/monitor/mon-task.c @@ -9,7 +9,6 @@ #include <rtems.h> #include <rtems/monitor.h> #include <rtems/rtems/tasksdata.h> -#include <rtems/score/schedulerimpl.h> #include <rtems/score/threadimpl.h> #include <rtems/score/threadqimpl.h> @@ -112,9 +111,7 @@ rtems_monitor_task_canonical( canonical_task->entry = rtems_thread->Start.Entry; canonical_task->stack = rtems_thread->Start.Initial_stack.area; canonical_task->stack_size = rtems_thread->Start.Initial_stack.size; - canonical_task->priority = SCHEDULER_PRIORITY_UNMAP( - _Thread_Get_priority( rtems_thread ) - ); + canonical_task->priority = _Thread_Get_unmapped_priority( rtems_thread ); canonical_task->events = api->Event.pending_events; /* * FIXME: make this optionally cpu_time_executed |