source: rtems/cpukit/score/cpu/no_cpu/rtems/score/types.h @ 0a37142

4.9
Last change on this file since 0a37142 was d0279f6e, checked in by Ralf Corsepius <ralf.corsepius@…>, on Sep 18, 2008 at 3:01:49 AM

Do not define boolean, single_precision, double_precision unless RTEMS_DEPRECATED_TYPES is given.

  • Property mode set to 100644
File size: 1.2 KB
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#ifndef ASM
23
24#include <stdbool.h>
25#include <rtems/stdint.h>
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31/*
32 *  This section defines the basic types for this processor.
33 */
34
35/** This defines the type for a priority bit map entry. */
36typedef uint16_t Priority_Bit_map_control;
37
38/** This defines the return type for an ISR entry point. */
39typedef void no_cpu_isr;
40
41/** This defines the prototype for an ISR entry point. */
42typedef no_cpu_isr ( *no_cpu_isr_entry )( void );
43
44#ifdef RTEMS_DEPRECATED_TYPES
45typedef bool    boolean;                /* Boolean value   */
46typedef float   single_precision;       /* single precision float */
47typedef double  double_precision;       /* double precision float */
48#endif
49
50#ifdef __cplusplus
51}
52#endif
53
54#endif  /* !ASM */
55
56#endif
Note: See TracBrowser for help on using the repository browser.