Changeset 81b03c6 in rtems


Ignore:
Timestamp:
Mar 5, 2015, 7:11:27 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
b8a5abf
Parents:
77510c7
git-author:
Sebastian Huber <sebastian.huber@…> (03/05/15 07:11:27)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/05/15 10:36:19)
Message:

score: Add and use PRIORITY_PSEUDO_ISR

Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/src/timerserver.c

    r77510c7 r81b03c6  
    482482    if ( priority != RTEMS_TIMER_SERVER_DEFAULT_PRIORITY )
    483483      return RTEMS_INVALID_PRIORITY;
    484     _priority = 0;
     484    _priority = PRIORITY_PSEUDO_ISR;
    485485  }
    486486
  • cpukit/score/include/rtems/score/priority.h

    r77510c7 r81b03c6  
    5959#define PRIORITY_MINIMUM      0
    6060
     61/**
     62 * @brief This defines the priority of pseudo-ISR threads.
     63 *
     64 * Examples are the MPCI and timer server threads.
     65 */
     66#define PRIORITY_PSEUDO_ISR   PRIORITY_MINIMUM
     67
    6168/** This defines the default lowest (least important) thread priority. */
    6269#if defined (CPU_PRIORITY_MAXIMUM)
  • cpukit/score/src/mpci.c

    r77510c7 r81b03c6  
    113113      _Configuration_MP_table->extra_mpci_receive_server_stack,
    114114    CPU_ALL_TASKS_ARE_FP,
    115     PRIORITY_MINIMUM,
     115    PRIORITY_PSEUDO_ISR,
    116116    false,       /* no preempt */
    117117    THREAD_CPU_BUDGET_ALGORITHM_NONE,
Note: See TracChangeset for help on using the changeset viewer.