source: rtems/cpukit/score/cpu/sh/rtems/score/types.h @ d0279f6e

4.9
Last change on this file since d0279f6e 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.4 KB
RevLine 
[eeb3a99]1/**
2 * @file rtems/score/types.h
3 */
4
[7908ba5b]5/*
6 *  This include file contains information pertaining to the Hitachi SH
7 *  processor.
8 *
9 *  Authors: Ralf Corsepius (corsepiu@faw.uni-ulm.de) and
10 *           Bernd Becker (becker@faw.uni-ulm.de)
11 *
12 *  COPYRIGHT (c) 1997-1998, FAW Ulm, Germany
13 *
14 *  This program is distributed in the hope that it will be useful,
15 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
16 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 *
18 *
[7d953c2]19 *  COPYRIGHT (c) 1998-2001.
[7908ba5b]20 *  On-Line Applications Research Corporation (OAR).
21 *
22 *  The license and distribution terms for this file may be
23 *  found in the file LICENSE in this distribution or at
[7f28803d]24 *  http://www.rtems.com/license/LICENSE.
[7908ba5b]25 *
26 *  $Id$
27 */
28
[7f70d1b7]29#ifndef _RTEMS_SCORE_TYPES_H
30#define _RTEMS_SCORE_TYPES_H
[7908ba5b]31
32#ifndef ASM
33
[30e2df6]34#include <stdbool.h>
[b9b531f]35#include <rtems/stdint.h>
36
[7908ba5b]37#ifdef __cplusplus
38extern "C" {
39#endif
40
41/*
42 *  This section defines the basic types for this processor.
43 */
44
[210e006]45typedef uint16_t     Priority_Bit_map_control;
[7908ba5b]46
[d0279f6e]47typedef void sh_isr;
48typedef void ( *sh_isr_entry )( void );
[7908ba5b]49
[d0279f6e]50#ifdef RTEMS_DEPRECATED_TYPES
51typedef bool boolean;                           /* Boolean value, external */
[7908ba5b]52typedef float          single_precision;        /* single precision float */
53typedef double         double_precision;        /* double precision float */
[d0279f6e]54#endif
[7908ba5b]55
56#ifdef __cplusplus
57}
58#endif
59
60#endif  /* !ASM */
61
62#endif
Note: See TracBrowser for help on using the repository browser.