Ignore:
Timestamp:
Jun 28, 2019, 6:30:11 AM (4 months 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/libdebugger/rtems-debugger-threads.c

    rc43071f r5803f37  
    3232#include <rtems.h>
    3333#include <rtems/assoc.h>
    34 #include <rtems/score/schedulerimpl.h>
    3534#include <rtems/score/threadimpl.h>
    3635
     
    505504rtems_debugger_thread_current_priority(rtems_debugger_thread* thread)
    506505{
    507   return SCHEDULER_PRIORITY_UNMAP(_Thread_Get_priority(thread->tcb));
     506  return _Thread_Get_unmapped_priority(thread->tcb);
    508507}
    509508
     
    511510rtems_debugger_thread_real_priority(rtems_debugger_thread* thread)
    512511{
    513   return SCHEDULER_PRIORITY_UNMAP(thread->tcb->Real_priority.priority);
     512  return _Thread_Get_unmapped_real_priority(thread->tcb);
    514513}
    515514
Note: See TracChangeset for help on using the changeset viewer.