RTEMS CPU Kit with SuperCore  4.11.2
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 /*
36  * The definition of the Priority_bit_map_Word type is CPU dependent.
37  *
38  */
39 
40 typedef struct {
45  Priority_bit_map_Word major_bit_map;
46 
55  Priority_bit_map_Word bit_map[ 16 ];
57 
62 typedef struct {
64  Priority_bit_map_Word *minor;
66  Priority_bit_map_Word ready_major;
68  Priority_bit_map_Word ready_minor;
70  Priority_bit_map_Word block_major;
72  Priority_bit_map_Word block_minor;
74 
77 #ifdef __cplusplus
78 }
79 #endif
80 
81 #endif
82 /* end of include file */
Definition: prioritybitmap.h:40
Priority_bit_map_Word ready_major
This is the priority bit map ready mask.
Definition: prioritybitmap.h:66
Priority_bit_map_Word block_major
This is the priority bit map block mask.
Definition: prioritybitmap.h:70
Priority_bit_map_Word block_minor
This is the priority bit map block mask.
Definition: prioritybitmap.h:72
Priority_bit_map_Word * minor
This is the address of minor bit map slot.
Definition: prioritybitmap.h:64
Priority_bit_map_Word ready_minor
This is the priority bit map ready mask.
Definition: prioritybitmap.h:68
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:45
The following record defines the information associated with each thread to manage its interaction wi...
Definition: prioritybitmap.h:62