[eeb3a99] | 1 | /** |
---|
| 2 | * @file rtems/score/types.h |
---|
| 3 | */ |
---|
| 4 | |
---|
[7908ba5b] | 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 | * |
---|
[7d953c2] | 19 | * COPYRIGHT (c) 1998-2001. |
---|
[7908ba5b] | 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 |
---|
[7f28803d] | 24 | * http://www.rtems.com/license/LICENSE. |
---|
[7908ba5b] | 25 | * |
---|
| 26 | * $Id$ |
---|
| 27 | */ |
---|
| 28 | |
---|
[af413e95] | 29 | #ifndef __rtems_score_types_h |
---|
| 30 | #define __rtems_score_types_h |
---|
[7908ba5b] | 31 | |
---|
| 32 | #ifndef ASM |
---|
| 33 | |
---|
| 34 | #ifdef __cplusplus |
---|
| 35 | extern "C" { |
---|
| 36 | #endif |
---|
| 37 | |
---|
| 38 | /* |
---|
| 39 | * This section defines the basic types for this processor. |
---|
| 40 | */ |
---|
| 41 | |
---|
| 42 | typedef unsigned char unsigned8; /* unsigned 8-bit integer */ |
---|
| 43 | typedef unsigned short unsigned16; /* unsigned 16-bit integer */ |
---|
| 44 | typedef unsigned int unsigned32; /* unsigned 32-bit integer */ |
---|
| 45 | typedef unsigned long long unsigned64; /* unsigned 64-bit integer */ |
---|
| 46 | |
---|
| 47 | typedef unsigned16 Priority_Bit_map_control; |
---|
| 48 | |
---|
| 49 | typedef signed char signed8; /* 8-bit signed integer */ |
---|
| 50 | typedef signed short signed16; /* 16-bit signed integer */ |
---|
| 51 | typedef signed int signed32; /* 32-bit signed integer */ |
---|
| 52 | typedef signed long long signed64; /* 64 bit signed integer */ |
---|
| 53 | |
---|
| 54 | typedef unsigned16 boolean; /* Boolean value, external */ |
---|
| 55 | /* data bus has 16 bits */ |
---|
| 56 | |
---|
| 57 | typedef float single_precision; /* single precision float */ |
---|
| 58 | typedef double double_precision; /* double precision float */ |
---|
| 59 | |
---|
| 60 | typedef void sh_isr; |
---|
| 61 | typedef void ( *sh_isr_entry )( void ); |
---|
| 62 | |
---|
| 63 | #ifdef __cplusplus |
---|
| 64 | } |
---|
| 65 | #endif |
---|
| 66 | |
---|
| 67 | #endif /* !ASM */ |
---|
| 68 | |
---|
| 69 | #endif |
---|