Ignore:
Timestamp:
Jun 28, 2019, 6:30:11 AM (8 weeks ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
b89d6cc
Parents:
c43071f
Message:

score: Add and use _Thread_Get_unmapped_priority().

Add and use _Thread_Get_unmapped_real_priority().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/monitor/mon-task.c

    rc43071f r5803f37  
    1010#include <rtems/monitor.h>
    1111#include <rtems/rtems/tasksdata.h>
    12 #include <rtems/score/schedulerimpl.h>
    1312#include <rtems/score/threadimpl.h>
    1413#include <rtems/score/threadqimpl.h>
     
    113112    canonical_task->stack = rtems_thread->Start.Initial_stack.area;
    114113    canonical_task->stack_size = rtems_thread->Start.Initial_stack.size;
    115     canonical_task->priority = SCHEDULER_PRIORITY_UNMAP(
    116       _Thread_Get_priority( rtems_thread )
    117     );
     114    canonical_task->priority = _Thread_Get_unmapped_priority( rtems_thread );
    118115    canonical_task->events = api->Event.pending_events;
    119116    /*
Note: See TracChangeset for help on using the changeset viewer.