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

Last change on this file since a0e26c53 was a0e26c53, checked in by Joel Sherrill <joel.sherrill@…>, on 09/04/03 at 18:47:39

2003-09-04 Joel Sherrill <joel@…>

  • asm.h, cpu.c, rtems/score/cpu.h, rtems/score/sh.h, rtems/score/sh_io.h, rtems/score/types.h: URL for license changed.
  • Property mode set to 100644
File size: 1.8 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-2001.
16 *  On-Line Applications Research Corporation (OAR).
17 *
18 *  The license and distribution terms for this file may be
19 *  found in the file LICENSE in this distribution or at
20 *  http://www.rtems.com/license/LICENSE.
21 *
22 *  $Id$
23 */
24
25#ifndef __CPU_SH_TYPES_h
26#define __CPU_SH_TYPES_h
27
28#ifndef ASM
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34/*
35 *  This section defines the basic types for this processor.
36 */
37
38typedef unsigned char  unsigned8;               /* unsigned 8-bit  integer */
39typedef unsigned short unsigned16;              /* unsigned 16-bit integer */
40typedef unsigned int   unsigned32;              /* unsigned 32-bit integer */
41typedef unsigned long long unsigned64;          /* unsigned 64-bit integer */
42
43typedef unsigned16     Priority_Bit_map_control;
44
45typedef signed char      signed8;               /* 8-bit  signed integer */
46typedef signed short     signed16;              /* 16-bit signed integer */
47typedef signed int       signed32;              /* 32-bit signed integer */
48typedef signed long long signed64;              /* 64 bit signed integer */
49
50typedef unsigned16 boolean;                     /* Boolean value, external */
51                                                /* data bus has 16 bits  */
52
53typedef float          single_precision;        /* single precision float */
54typedef double         double_precision;        /* double precision float */
55
56typedef void sh_isr;
57typedef void ( *sh_isr_entry )( void );
58
59#ifdef __cplusplus
60}
61#endif
62
63#endif  /* !ASM */
64
65#endif
66
Note: See TracBrowser for help on using the repository browser.