RTEMS  5.0.0
prioritybitmap.h
Go to the documentation of this file.
1 
10 /*
11  * COPYRIGHT (c) 1989-2010.
12  * On-Line Applications Research Corporation (OAR).
13  *
14  * The license and distribution terms for this file may be
15  * found in the file LICENSE in this distribution or at
16  * http://www.rtems.org/license/LICENSE.
17  */
18 
19 #ifndef _RTEMS_SCORE_PRIORITYBITMAP_H
20 #define _RTEMS_SCORE_PRIORITYBITMAP_H
21 
22 #include <rtems/score/cpu.h>
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
35 typedef uint16_t Priority_bit_map_Word;
36 
37 typedef struct {
42  Priority_bit_map_Word major_bit_map;
43 
52  Priority_bit_map_Word bit_map[ 16 ];
54 
59 typedef struct {
61  Priority_bit_map_Word *minor;
63  Priority_bit_map_Word ready_major;
65  Priority_bit_map_Word ready_minor;
67  Priority_bit_map_Word block_major;
69  Priority_bit_map_Word block_minor;
71 
74 #ifdef __cplusplus
75 }
76 #endif
77 
78 #endif
79 /* end of include file */
Definition: prioritybitmap.h:37
Priority_bit_map_Word ready_major
Definition: prioritybitmap.h:63
Priority_bit_map_Word block_major
Definition: prioritybitmap.h:67
Priority_bit_map_Word block_minor
Definition: prioritybitmap.h:69
Priority_bit_map_Word * minor
Definition: prioritybitmap.h:61
Priority_bit_map_Word ready_minor
Definition: prioritybitmap.h:65
Priority_bit_map_Word major_bit_map
Each sixteen bit entry in this word is associated with one of the sixteen entries in the bit map...
Definition: prioritybitmap.h:42
Definition: prioritybitmap.h:59