diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-08-09 21:28:40 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-08-09 21:28:40 +0000 |
commit | f4786d82aafc678707101b2aea9dc1aa0650143a (patch) | |
tree | 8973bc9f79cacd2c4ed625a193e1dc6bc6cd3ccc /cpukit/score/cpu/nios2/rtems/score/types.h | |
parent | 2006-08-09 Kolja Waschk <waschk@telos.de> (diff) | |
download | rtems-f4786d82aafc678707101b2aea9dc1aa0650143a.tar.bz2 |
2006-08-09 Kolja Waschk <waschk@telos.de>
* rtems/score/cpu.h, rtems/score/cpu_asm.h, rtems/score/nios2.h,
rtems/score/types.h: New files.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/nios2/rtems/score/types.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/cpukit/score/cpu/nios2/rtems/score/types.h b/cpukit/score/cpu/nios2/rtems/score/types.h new file mode 100644 index 0000000000..17ffaf5f5f --- /dev/null +++ b/cpukit/score/cpu/nios2/rtems/score/types.h @@ -0,0 +1,54 @@ +/** + * @file rtems/score/types.h + */ + +/* + * This include file contains type definitions pertaining to the + * Altera Nios II processor family. + * + * COPYRIGHT (c) 1989-1999. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#ifndef _RTEMS_SCORE_TYPES_H +#define _RTEMS_SCORE_TYPES_H + +#ifndef ASM + +#include <rtems/stdint.h> + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * This section defines the basic types for this processor. + */ + +typedef unsigned long long unsigned64; /* unsigned 64-bit integer */ + +typedef uint16_t Priority_Bit_map_control; + +typedef signed long long signed64; /* 64 bit signed integer */ + +typedef uint32_t boolean; /* Boolean value */ + +typedef float single_precision; /* single precision float */ +typedef double double_precision; /* double precision float */ + +typedef void nios2_isr; +typedef void ( *nios2_isr_entry )( void ); + +#ifdef __cplusplus +} +#endif + +#endif /* !ASM */ + +#endif |