From ff11282c63811ff893a35fbc16e195e0e8089f4d Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Wed, 27 Feb 2013 13:13:19 -0500 Subject: Add Moxie CPU support Signed-off-by: Anthony Green --- cpukit/score/cpu/moxie/rtems/score/types.h | 53 ++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 cpukit/score/cpu/moxie/rtems/score/types.h (limited to 'cpukit/score/cpu/moxie/rtems/score/types.h') diff --git a/cpukit/score/cpu/moxie/rtems/score/types.h b/cpukit/score/cpu/moxie/rtems/score/types.h new file mode 100644 index 0000000000..5bf1434074 --- /dev/null +++ b/cpukit/score/cpu/moxie/rtems/score/types.h @@ -0,0 +1,53 @@ +/** + * @file rtems/score/types.h + */ + +/* + * This file contains information pertaining to the Moxie processor. + * + * COPYRIGHT (c) 2011 + * Anthony Green + * + * Based on code with the following copyright... + * COPYRIGHT (c) 1989-1999, 2010. + * 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. + */ + +#ifndef _RTEMS_SCORE_TYPES_H +#define _RTEMS_SCORE_TYPES_H + +#include + +#ifndef ASM + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * This section defines the basic types for this processor. + */ +typedef uint16_t Priority_bit_map_Control; +typedef void moxie_isr; +typedef void ( *moxie_isr_entry )( void ); + +#ifdef RTEMS_DEPRECATED_TYPES +typedef bool boolean; /* Boolean value */ +typedef float single_precision; /* single precision float */ +typedef double double_precision; /* double precision float */ +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* !ASM */ + +#endif -- cgit v1.2.3