source: rtems/cpukit/score/cpu/arm/rtems/score/types.h @ 6162bc2

4.104.115
Last change on this file since 6162bc2 was 6162bc2, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/11/08 at 14:10:16

2008-09-11 Ralf Corsépius <ralf.corsepius@…>

  • rtems/score/types.h: Do not define boolean, single_precision, double_precision unless RTEMS_DEPRECATED_TYPES is given.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1/**
2 * @file rtems/score/types.h
3 */
4
5/*
6 *  $Id$
7 *
8 *  This include file contains type definitions pertaining to the
9 *  arm processor family.
10 *
11 *  COPYRIGHT (c) 2000 Canon Research Centre France SA.
12 *  Emmanuel Raguet, mailto:raguet@crf.canon.fr
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.com/license/LICENSE.
17 *
18 */
19
20#ifndef _RTEMS_SCORE_TYPES_H
21#define _RTEMS_SCORE_TYPES_H
22
23#ifndef ASM
24
25#include <stdbool.h>
26#include <rtems/stdint.h>
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32/*
33 *  This section defines the basic types for this processor.
34 */
35
36typedef uint16_t         Priority_Bit_map_control;
37
38typedef void               arm_cpu_isr;
39typedef void            (*arm_cpu_isr_entry)( void );
40
41#ifdef RTEMS_DEPRECATED_TYPES
42typedef bool            boolean;            /* Boolean value   */
43typedef float           single_precision;   /* single precision float */
44typedef double          double_precision;   /* double precision float */
45#endif
46
47#ifdef __cplusplus
48}
49#endif
50
51#endif  /* !ASM */
52
53#endif
Note: See TracBrowser for help on using the repository browser.