Changeset 1dd8fff in rtems


Ignore:
Timestamp:
Sep 6, 2016, 8:50:50 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
796f12a
Parents:
7af6b58c
git-author:
Sebastian Huber <sebastian.huber@…> (09/06/16 08:50:50)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/06/16 08:52:19)
Message:

capture: Use proper accessor functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/capture/capture.c

    r7af6b58c r1dd8fff  
    398398    in.task_id = tcb->Object.id;
    399399    in.events  = (events |
    400                   (tcb->real_priority) |
    401                   (tcb->current_priority << 8));
     400                  rtems_capture_task_real_priority (tcb) |
     401                  (rtems_capture_task_curr_priority (tcb) << 8));
    402402
    403403    rtems_capture_get_time (&in.time);
     
    497497     */
    498498    if ((events & RTEMS_CAPTURE_RECORD_EVENTS) ||
    499         ((tcb->real_priority >= capture_ceiling) &&
    500          (tcb->real_priority <= capture_floor) &&
     499        ((rtems_capture_task_real_priority (tcb) >= capture_ceiling) &&
     500         (rtems_capture_task_real_priority (tcb) <= capture_floor) &&
    501501         ((capture_flags_global & RTEMS_CAPTURE_GLOBAL_WATCH) ||
    502502          (control && (control->flags & RTEMS_CAPTURE_WATCH)))))
Note: See TracChangeset for help on using the changeset viewer.