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 | #include <rtems/stdint.h> |
---|
35 | |
---|
36 | #ifdef __cplusplus |
---|
37 | extern "C" { |
---|
38 | #endif |
---|
39 | |
---|
40 | /* |
---|
41 | * This section defines the basic types for this processor. |
---|
42 | */ |
---|
43 | |
---|
44 | typedef unsigned long long unsigned64; /* unsigned 64-bit integer */ |
---|
45 | |
---|
46 | typedef uint16_t Priority_Bit_map_control; |
---|
47 | |
---|
48 | typedef signed long long signed64; /* 64 bit signed integer */ |
---|
49 | |
---|
50 | typedef uint16_t boolean; /* Boolean value, external */ |
---|
51 | /* data bus has 16 bits */ |
---|
52 | |
---|
53 | typedef float single_precision; /* single precision float */ |
---|
54 | typedef double double_precision; /* double precision float */ |
---|
55 | |
---|
56 | typedef void sh_isr; |
---|
57 | typedef void ( *sh_isr_entry )( void ); |
---|
58 | |
---|
59 | #ifdef __cplusplus |
---|
60 | } |
---|
61 | #endif |
---|
62 | |
---|
63 | #endif /* !ASM */ |
---|
64 | |
---|
65 | #endif |
---|