diff options
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/include/rtems/score/priority.h | 7 | ||||
-rw-r--r-- | cpukit/score/src/mpci.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/priority.h b/cpukit/score/include/rtems/score/priority.h index f10f73130d..0a772f62a2 100644 --- a/cpukit/score/include/rtems/score/priority.h +++ b/cpukit/score/include/rtems/score/priority.h @@ -58,6 +58,13 @@ typedef uint32_t Priority_Control; /** This defines the highest (most important) thread priority. */ #define PRIORITY_MINIMUM 0 +/** + * @brief This defines the priority of pseudo-ISR threads. + * + * Examples are the MPCI and timer server threads. + */ +#define PRIORITY_PSEUDO_ISR PRIORITY_MINIMUM + /** This defines the default lowest (least important) thread priority. */ #if defined (CPU_PRIORITY_MAXIMUM) #define PRIORITY_DEFAULT_MAXIMUM CPU_PRIORITY_MAXIMUM diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c index e8a8ba2047..a2acf89424 100644 --- a/cpukit/score/src/mpci.c +++ b/cpukit/score/src/mpci.c @@ -112,7 +112,7 @@ void _MPCI_Create_server( void ) CPU_MPCI_RECEIVE_SERVER_EXTRA_STACK + _Configuration_MP_table->extra_mpci_receive_server_stack, CPU_ALL_TASKS_ARE_FP, - PRIORITY_MINIMUM, + PRIORITY_PSEUDO_ISR, false, /* no preempt */ THREAD_CPU_BUDGET_ALGORITHM_NONE, NULL, /* no budget algorithm callout */ |