source: rtems/c/src/exec/score/cpu/sh/shtypes.h @ 50cf94da

4.104.114.84.95
Last change on this file since 50cf94da was 50cf94da, checked in by Joel Sherrill <joel.sherrill@…>, on 03/20/98 at 17:16:31

SH port submitted from Ralf Corsepius <corsepiu@…>.

  • Property mode set to 100644
File size: 1.9 KB
Line 
1/*
2 *  This include file contains information pertaining to the Hitachi SH
3 *  processor.
4 *
5 *  Authors: Ralf Corsepius (corsepiu@faw.uni-ulm.de) and
6 *           Bernd Becker (becker@faw.uni-ulm.de)
7 *
8 *  COPYRIGHT (c) 1997-1998, FAW Ulm, Germany
9 *
10 *  This program is distributed in the hope that it will be useful,
11 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 *
14 *
15 *  COPYRIGHT (c) 1998.
16 *  On-Line Applications Research Corporation (OAR).
17 *  Copyright assigned to U.S. Government, 1994.
18 *
19 *  The license and distribution terms for this file may be
20 *  found in the file LICENSE in this distribution or at
21 *  http://www.OARcorp.com/rtems/license.html.
22 *
23 *  $Id$
24 */
25
26#ifndef __CPU_SH_TYPES_h
27#define __CPU_SH_TYPES_h
28
29#ifndef ASM
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
35/*
36 *  This section defines the basic types for this processor.
37 */
38
39typedef unsigned char  unsigned8;               /* unsigned 8-bit  integer */
40typedef unsigned short unsigned16;              /* unsigned 16-bit integer */
41typedef unsigned int   unsigned32;              /* unsigned 32-bit integer */
42typedef unsigned long long unsigned64;          /* unsigned 64-bit integer */
43
44typedef unsigned16     Priority_Bit_map_control;
45
46typedef signed char      signed8;               /* 8-bit  signed integer */
47typedef signed short     signed16;              /* 16-bit signed integer */
48typedef signed int       signed32;              /* 32-bit signed integer */
49typedef signed long long signed64;              /* 64 bit signed integer */
50
51typedef unsigned16 boolean;                     /* Boolean value, external */
52                                                /* data bus has 16 bits  */
53
54typedef float          single_precision;        /* single precision float */
55typedef double         double_precision;        /* double precision float */
56
57typedef void sh_isr;
58typedef void ( *sh_isr_entry )( void );
59
60#ifdef __cplusplus
61}
62#endif
63
64#endif  /* !ASM */
65
66#endif
67
Note: See TracBrowser for help on using the repository browser.