source: rtems/cpukit/score/include/rtems/score/prioritybitmap.h @ c499856

4.115
Last change on this file since c499856 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1/**
2 *  @file  rtems/score/prioritybitmap.h
3 *
4 *  @brief Manipulation Routines for the Bitmap Priority Queue Implementation
5 *
6 *  This include file contains all thread priority manipulation routines for
7 *  the bit map priority queue implementation.
8 */
9
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
25extern "C" {
26#endif
27
28/**
29 *  @defgroup ScorePriorityBitmap Bitmap Priority Thread Routines
30 *
31 *  @ingroup Score
32 */
33/**@{*/
34
35/*
36 *  The definition of the Priority_bit_map_Control type is CPU dependent.
37 *
38 */
39
40/**
41 *  The following record defines the information associated with
42 *  each thread to manage its interaction with the priority bit maps.
43 */
44typedef struct {
45  /** This is the address of minor bit map slot. */
46  Priority_bit_map_Control *minor;
47  /** This is the priority bit map ready mask. */
48  Priority_bit_map_Control  ready_major;
49  /** This is the priority bit map ready mask. */
50  Priority_bit_map_Control  ready_minor;
51  /** This is the priority bit map block mask. */
52  Priority_bit_map_Control  block_major;
53  /** This is the priority bit map block mask. */
54  Priority_bit_map_Control  block_minor;
55} Priority_bit_map_Information;
56
57/**@}*/
58
59#ifdef __cplusplus
60}
61#endif
62
63#endif
64/* end of include file */
Note: See TracBrowser for help on using the repository browser.