RTEMS CPU Kit with SuperCore  4.11.2
priority.h
Go to the documentation of this file.
1 
11 /*
12  * COPYRIGHT (c) 1989-2011.
13  * On-Line Applications Research Corporation (OAR).
14  *
15  * The license and distribution terms for this file may be
16  * found in the file LICENSE in this distribution or at
17  * http://www.rtems.org/license/LICENSE.
18  */
19 
20 #ifndef _RTEMS_SCORE_PRIORITY_H
21 #define _RTEMS_SCORE_PRIORITY_H
22 
41 /*
42  * Processor specific information.
43  */
44 #include <rtems/score/cpu.h>
45 
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49 
56 typedef uint32_t Priority_Control;
57 
59 #define PRIORITY_MINIMUM 0
60 
66 #define PRIORITY_PSEUDO_ISR PRIORITY_MINIMUM
67 
69 #if defined (CPU_PRIORITY_MAXIMUM)
70  #define PRIORITY_DEFAULT_MAXIMUM CPU_PRIORITY_MAXIMUM
71 #else
72  #define PRIORITY_DEFAULT_MAXIMUM 255
73 #endif
74 
76 #define PRIORITY_MAXIMUM rtems_maximum_priority
77 
81 extern uint8_t rtems_maximum_priority;
82 
83 #ifdef __cplusplus
84 }
85 #endif
86 
89 #endif
90 /* end of include file */
uint8_t rtems_maximum_priority
This variable contains the configured number of priorities.
uint32_t Priority_Control
The following type defines the control block used to manage thread priorities.
Definition: priority.h:56