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

4.104.114.84.95
Last change on this file since af413e95 was af413e95, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 21, 2004 at 11:06:03 AM

2004-11-21 Ralf Corsepius <ralf.corsepius@…>

  • rtems/score/types.h: Use rtems_score_types_h as preprocessor guard.
  • 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 __rtems_score_types_h
30#define __rtems_score_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.