Changeset 5803f37 in rtems for cpukit/include/rtems/capture.h


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/include/rtems/capture.h

    rc43071f r5803f37  
    3535#include <rtems.h>
    3636#include <rtems/rtems/tasksimpl.h>
    37 #include <rtems/score/schedulerimpl.h>
    3837
    3938#include <string.h>
     
    891890rtems_capture_task_real_priority (rtems_tcb* tcb)
    892891{
    893   return SCHEDULER_PRIORITY_UNMAP (tcb->Real_priority.priority);
     892  return _Thread_Get_unmapped_real_priority (tcb);
    894893}
    895894
     
    906905rtems_capture_task_curr_priority (rtems_tcb* tcb)
    907906{
    908   return SCHEDULER_PRIORITY_UNMAP (_Thread_Get_priority (tcb));
     907  return _Thread_Get_unmapped_priority (tcb);
    909908}
    910909
Note: See TracChangeset for help on using the changeset viewer.