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

4.104.114.9
Last change on this file since 30e2df6 was 30e2df6, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 21, 2008 at 4:10:35 AM

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

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/**
2 * @file rtems/score/types.h
3 */
4
5/*
6 *  This include file contains type definitions pertaining to the PowerPC
7 *  processor family.
8 *
9 *  Author:     Andrew Bray <andy@i-cubed.co.uk>
10 *
11 *  COPYRIGHT (c) 1995 by i-cubed ltd.
12 *
13 *  To anyone who acknowledges that this file is provided "AS IS"
14 *  without any express or implied warranty:
15 *      permission to use, copy, modify, and distribute this file
16 *      for any purpose is hereby granted without fee, provided that
17 *      the above copyright notice and this notice appears in all
18 *      copies, and that the name of i-cubed limited not be used in
19 *      advertising or publicity pertaining to distribution of the
20 *      software without specific, written prior permission.
21 *      i-cubed limited makes no representations about the suitability
22 *      of this software for any purpose.
23 *
24 *  Derived from c/src/exec/cpu/no_cpu/no_cputypes.h:
25 *
26 *  COPYRIGHT (c) 1989-1997.
27 *  On-Line Applications Research Corporation (OAR).
28 *
29 *  The license and distribution terms for this file may in
30 *  the file LICENSE in this distribution or at
31 *  http://www.rtems.com/license/LICENSE.
32 *
33 *  $Id$
34 */
35
36#ifndef _RTEMS_SCORE_TYPES_H
37#define _RTEMS_SCORE_TYPES_H
38
39#ifndef ASM
40
41#include <stdbool.h>
42#include <rtems/stdint.h>
43
44#ifdef __cplusplus
45extern "C" {
46#endif
47
48/*
49 *  This section defines the basic types for this processor.
50 */
51
52typedef uint32_t     Priority_Bit_map_control;
53
54typedef bool boolean;     /* Boolean value   */
55
56typedef float          single_precision;     /* single precision float */
57typedef double         double_precision;     /* double precision float */
58
59typedef void ppc_isr;
60
61#ifdef __cplusplus
62}
63#endif
64
65#endif  /* !ASM */
66
67#endif
Note: See TracBrowser for help on using the repository browser.