source: rtems/cpukit/score/cpu/arm/rtems/score/types.h @ 30e2df6

4.104.114.95
Last change on this file since 30e2df6 was 30e2df6, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/21/08 at 04:10:35

Include stdbool.h. Use bool as base-type for boolean.

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[da215ded]1/**
2 * @file rtems/score/types.h
3 */
4
[6c63598]5/*
6 *  $Id$
[08330bf]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
[57b8a7b6]16 *  http://www.rtems.com/license/LICENSE.
[08330bf]17 *
18 */
19
[7f70d1b7]20#ifndef _RTEMS_SCORE_TYPES_H
21#define _RTEMS_SCORE_TYPES_H
[08330bf]22
23#ifndef ASM
24
[30e2df6]25#include <stdbool.h>
[b9b531f]26#include <rtems/stdint.h>
27
[08330bf]28#ifdef __cplusplus
29extern "C" {
30#endif
31
32/*
33 *  This section defines the basic types for this processor.
34 */
35
[30e2df6]36typedef bool             boolean;            /* Boolean value   */
[7a3f018]37typedef uint16_t         Priority_Bit_map_control;
[08330bf]38
[fa237002]39typedef float              single_precision;   /* single precision float */
40typedef double             double_precision;   /* double precision float */
[08330bf]41
[fa237002]42typedef void               arm_cpu_isr;
43typedef void            ( *arm_cpu_isr_entry )( void );
[08330bf]44
45#ifdef __cplusplus
46}
47#endif
48
49#endif  /* !ASM */
50
51#endif
Note: See TracBrowser for help on using the repository browser.