source: rtems/cpukit/score/cpu/no_cpu/rtems/score/types.h @ 4ef13360

4.11
Last change on this file since 4ef13360 was 4ef13360, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 29, 2010 at 5:51:56 PM

2010-07-29 Gedare Bloom <giddyup44@…>

PR 1635/cpukit

  • rtems/score/cpu.h, rtems/score/types.h: Refactoring of priority handling, to isolate the bitmap implementation of priorities in the supercore so that priority management is a little more modular. This change is in anticipation of scheduler implementations that can select how they manage tracking priority levels / finding the highest priority ready task. Note that most of the changes here are simple renaming, to clarify the use of the bitmap-based priority management.
  • Property mode set to 100644
File size: 976 bytes
Line 
1/**
2 * @file rtems/score/types.h
3 */
4
5/*
6 *  This include file contains type definitions pertaining to the Intel
7 *  no_cpu processor family.
8 *
9 *  COPYRIGHT (c) 1989-2006.
10 *  On-Line Applications Research Corporation (OAR).
11 *
12 *  The license and distribution terms for this file may be
13 *  found in the file LICENSE in this distribution or at
14 *  http://www.rtems.com/license/LICENSE.
15 *
16 *  $Id$
17 */
18
19#ifndef _RTEMS_SCORE_TYPES_H
20#define _RTEMS_SCORE_TYPES_H
21
22#include <rtems/score/basedefs.h>
23
24#ifndef ASM
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30/*
31 *  This section defines the basic types for this processor.
32 */
33
34/** This defines the type for a priority bit map entry. */
35typedef uint16_t Priority_bit_map_Control;
36
37/** This defines the return type for an ISR entry point. */
38typedef void no_cpu_isr;
39
40/** This defines the prototype for an ISR entry point. */
41typedef no_cpu_isr ( *no_cpu_isr_entry )( void );
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif  /* !ASM */
48
49#endif
Note: See TracBrowser for help on using the repository browser.