source: rtems/cpukit/score/cpu/c4x/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.0 KB
Line 
1/**
2 * @file rtems/score/types.h
3 */
4
5/*
6 *  This include file contains type definitions pertaining to the
7 *  Texas Instruments C4x processor family.
8 *
9 *  COPYRIGHT (c) 1989-1999.
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
35typedef uint_least16_t     Priority_Bit_map_control;
36typedef void c4x_isr;
37typedef void ( *c4x_isr_entry )( void );
38
39#ifdef RTEMS_DEPRECATED_TYPES
40typedef bool    boolean;                /* Boolean value   */
41typedef float   single_precision;       /* single precision float */
42typedef double  double_precision;       /* double precision float */
43#endif
44
45#ifdef __cplusplus
46}
47#endif
48
49#endif  /* !ASM */
50
51#endif
Note: See TracBrowser for help on using the repository browser.