OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [score/] [cpu/] [sh/] [rtems/] [score/] [shtypes.h] - Blame information for rev 173

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
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: shtypes.h,v 1.2 2001-09-27 11:59:30 chris Exp $
24
 */
25
 
26
#ifndef __CPU_SH_TYPES_h
27
#define __CPU_SH_TYPES_h
28
 
29
#ifndef ASM
30
 
31
#ifdef __cplusplus
32
extern "C" {
33
#endif
34
 
35
/*
36
 *  This section defines the basic types for this processor.
37
 */
38
 
39
typedef unsigned char  unsigned8;               /* unsigned 8-bit  integer */
40
typedef unsigned short unsigned16;              /* unsigned 16-bit integer */
41
typedef unsigned int   unsigned32;              /* unsigned 32-bit integer */
42
typedef unsigned long long unsigned64;          /* unsigned 64-bit integer */
43
 
44
typedef unsigned16     Priority_Bit_map_control;
45
 
46
typedef signed char      signed8;               /* 8-bit  signed integer */
47
typedef signed short     signed16;              /* 16-bit signed integer */
48
typedef signed int       signed32;              /* 32-bit signed integer */
49
typedef signed long long signed64;              /* 64 bit signed integer */
50
 
51
typedef unsigned16 boolean;                     /* Boolean value, external */
52
                                                /* data bus has 16 bits  */
53
 
54
typedef float          single_precision;        /* single precision float */
55
typedef double         double_precision;        /* double precision float */
56
 
57
typedef void sh_isr;
58
typedef void ( *sh_isr_entry )( void );
59
 
60
#ifdef __cplusplus
61
}
62
#endif
63
 
64
#endif  /* !ASM */
65
 
66
#endif
67
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.