summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/lm32/rtems/score/types.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-04 22:53:15 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-04 22:53:15 +0000
commit6b4d0b8e9a8123caffd76eb7c8a2ecc8522eca9b (patch)
tree8bb5e26af89945e7053a38e387f757d8d5f0a333 /cpukit/score/cpu/lm32/rtems/score/types.h
parent2008-12-04 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-6b4d0b8e9a8123caffd76eb7c8a2ecc8522eca9b.tar.bz2
2008-12-04 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
* ChangeLog, Makefile.am, cpu.c, cpu_asm.S, preinstall.am, rtems/asm.h, rtems/score/cpu.h, rtems/score/cpu_asm.h, rtems/score/lm32.h, rtems/score/types.h: New files.
Diffstat (limited to '')
-rw-r--r--cpukit/score/cpu/lm32/rtems/score/types.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/cpukit/score/cpu/lm32/rtems/score/types.h b/cpukit/score/cpu/lm32/rtems/score/types.h
new file mode 100644
index 0000000000..8844e946af
--- /dev/null
+++ b/cpukit/score/cpu/lm32/rtems/score/types.h
@@ -0,0 +1,59 @@
+/**
+ * @file rtems/score/types.h
+ */
+
+/*
+ * This include file contains type definitions pertaining to the
+ * Lattice lm32 processor family.
+ *
+ * COPYRIGHT (c) 1989-2006.
+ * 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$
+ *
+ * Jukka Pietarinen <jukka.pietarinen@mrf.fi>, 2008,
+ * Micro-Research Finland Oy
+ */
+
+#ifndef _RTEMS_SCORE_TYPES_H
+#define _RTEMS_SCORE_TYPES_H
+
+#ifndef ASM
+
+#include <stdbool.h>
+#include <rtems/stdint.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * This section defines the basic types for this processor.
+ */
+
+/** This defines the type for a priority bit map entry. */
+typedef uint16_t Priority_Bit_map_control;
+
+/** This defines the return type for an ISR entry point. */
+typedef void lm32_isr;
+
+/** This defines the prototype for an ISR entry point. */
+typedef lm32_isr ( *lm32_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