RTEMS
prioritybitmap.h
Go to the documentation of this file.
1 
12 /*
13  * COPYRIGHT (c) 1989-2010.
14  * On-Line Applications Research Corporation (OAR).
15  *
16  * The license and distribution terms for this file may be
17  * found in the file LICENSE in this distribution or at
18  * http://www.rtems.org/license/LICENSE.
19  */
20 
21 #ifndef _RTEMS_SCORE_PRIORITYBITMAP_H
22 #define _RTEMS_SCORE_PRIORITYBITMAP_H
23 
24 #include <rtems/score/cpu.h>
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
40 typedef uint16_t Priority_bit_map_Word;
41 
42 typedef struct {
47  Priority_bit_map_Word major_bit_map;
48 
57  Priority_bit_map_Word bit_map[ 16 ];
59 
64 typedef struct {
66  Priority_bit_map_Word *minor;
68  Priority_bit_map_Word ready_major;
70  Priority_bit_map_Word ready_minor;
72  Priority_bit_map_Word block_major;
74  Priority_bit_map_Word block_minor;
76 
79 #ifdef __cplusplus
80 }
81 #endif
82 
83 #endif
84 /* end of include file */
Priority_bit_map_Word ready_major
Priority_bit_map_Word block_major
Priority_bit_map_Word block_minor
Priority_bit_map_Word * minor
Priority_bit_map_Word ready_minor
SPARC CPU Department Source.
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...