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

4.104.114.84.95
Last change on this file since b8ed8a9f was eeb3a99, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/02/04 at 07:40:06

2004-10-02 Ralf Corsepius <ralf_corsepius@…>

  • rtems/score/cpu.h: Add doxygen preamble.
  • rtems/score/sh.h: Add doxygen preamble.
  • rtems/score/sh_io.h: Add doxygen preamble.
  • rtems/score/types.h: Add doxygen preamble.
  • Property mode set to 100644
File size: 1.9 KB
Line 
1/**
2 * @file rtems/score/types.h
3 */
4
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 *
19 *  COPYRIGHT (c) 1998-2001.
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
24 *  http://www.rtems.com/license/LICENSE.
25 *
26 *  $Id$
27 */
28
29#ifndef __CPU_SH_TYPES_h
30#define __CPU_SH_TYPES_h
31
32#ifndef ASM
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
38/*
39 *  This section defines the basic types for this processor.
40 */
41
42typedef unsigned char  unsigned8;               /* unsigned 8-bit  integer */
43typedef unsigned short unsigned16;              /* unsigned 16-bit integer */
44typedef unsigned int   unsigned32;              /* unsigned 32-bit integer */
45typedef unsigned long long unsigned64;          /* unsigned 64-bit integer */
46
47typedef unsigned16     Priority_Bit_map_control;
48
49typedef signed char      signed8;               /* 8-bit  signed integer */
50typedef signed short     signed16;              /* 16-bit signed integer */
51typedef signed int       signed32;              /* 32-bit signed integer */
52typedef signed long long signed64;              /* 64 bit signed integer */
53
54typedef unsigned16 boolean;                     /* Boolean value, external */
55                                                /* data bus has 16 bits  */
56
57typedef float          single_precision;        /* single precision float */
58typedef double         double_precision;        /* double precision float */
59
60typedef void sh_isr;
61typedef void ( *sh_isr_entry )( void );
62
63#ifdef __cplusplus
64}
65#endif
66
67#endif  /* !ASM */
68
69#endif
Note: See TracBrowser for help on using the repository browser.