diff options
author | Anthony Green <green@moxielogic.com> | 2013-02-27 13:13:19 -0500 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2013-02-28 12:24:17 -0500 |
commit | ff11282c63811ff893a35fbc16e195e0e8089f4d (patch) | |
tree | 8cd95846325729c404548a2a35b7eae582e37ba8 /cpukit/score/cpu/moxie/rtems/score/types.h | |
parent | libchip/network: Fixed warning (diff) | |
download | rtems-ff11282c63811ff893a35fbc16e195e0e8089f4d.tar.bz2 |
Add Moxie CPU support
Signed-off-by: Anthony Green <green@moxielogic.com>
Diffstat (limited to 'cpukit/score/cpu/moxie/rtems/score/types.h')
-rw-r--r-- | cpukit/score/cpu/moxie/rtems/score/types.h | 53 |
1 files changed, 53 insertions, 0 deletions
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 <rtems/score/basedefs.h> + +#ifndef ASM + +#include <stdbool.h> +#include <stdint.h> + +#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 |