RTEMS: cpukit/include/rtems/score/prioritybitmap.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
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
27extern "C" {
28#endif
29
40typedef 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 ];
58} Priority_bit_map_Control;
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;
75} Priority_bit_map_Information;
76
79#ifdef __cplusplus
80}
81#endif
82
83#endif
84/* end of include file */
Priority_bit_map_Control
Definition: prioritybitmap.h:42
Priority_bit_map_Control::major_bit_map
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:47
Priority_bit_map_Information
Definition: prioritybitmap.h:64
Priority_bit_map_Information::block_major
Priority_bit_map_Word block_major
Definition: prioritybitmap.h:72
Priority_bit_map_Information::block_minor
Priority_bit_map_Word block_minor
Definition: prioritybitmap.h:74
Priority_bit_map_Information::ready_major
Priority_bit_map_Word ready_major
Definition: prioritybitmap.h:68
Priority_bit_map_Information::ready_minor
Priority_bit_map_Word ready_minor
Definition: prioritybitmap.h:70
Priority_bit_map_Information::minor
Priority_bit_map_Word * minor
Definition: prioritybitmap.h:66