Changeset 54ac945 in rtems


Ignore:
Timestamp:
Jun 26, 2019, 5:57:50 AM (3 weeks ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
9b858ee
Parents:
dc581f2
Message:

libdebugger: Unmap thread priorities

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libdebugger/rtems-debugger-threads.c

    rdc581f2 r54ac945  
    3232#include <rtems.h>
    3333#include <rtems/assoc.h>
     34#include <rtems/score/schedulerimpl.h>
    3435#include <rtems/score/threadimpl.h>
    3536
     
    504505rtems_debugger_thread_current_priority(rtems_debugger_thread* thread)
    505506{
    506   return _Thread_Get_priority(thread->tcb);
     507  return SCHEDULER_PRIORITY_UNMAP(_Thread_Get_priority(thread->tcb));
    507508}
    508509
     
    510511rtems_debugger_thread_real_priority(rtems_debugger_thread* thread)
    511512{
    512   return thread->tcb->Real_priority.priority;
     513  return SCHEDULER_PRIORITY_UNMAP(thread->tcb->Real_priority.priority);
    513514}
    514515
Note: See TracChangeset for help on using the changeset viewer.