summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/bfin/rtems/score/types.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-10-23 17:17:50 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-10-23 17:17:50 +0000
commitd9a6ab3fed9e77a6343ee56571e4d9d767c8e979 (patch)
tree5cbb0283798520905ed50d799d1f19de959e7a55 /cpukit/score/cpu/bfin/rtems/score/types.h
parent2006-10-22 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-d9a6ab3fed9e77a6343ee56571e4d9d767c8e979.tar.bz2
2006-10-23 Joel Sherrill <joel@OARcorp.com>
* .cvsignore, ChangeLog, Makefile.am, cpu.c, cpu_asm.S, irq.c, preinstall.am, rtems/asm.h, rtems/score/bfin.h, rtems/score/cpu.h, rtems/score/cpu_asm.h, rtems/score/types.h: New files.
Diffstat (limited to 'cpukit/score/cpu/bfin/rtems/score/types.h')
-rw-r--r--cpukit/score/cpu/bfin/rtems/score/types.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/cpukit/score/cpu/bfin/rtems/score/types.h b/cpukit/score/cpu/bfin/rtems/score/types.h
new file mode 100644
index 0000000000..e9feebcdc0
--- /dev/null
+++ b/cpukit/score/cpu/bfin/rtems/score/types.h
@@ -0,0 +1,59 @@
+/*
+ * This include file contains type definitions pertaining to the
+ * Blackfin 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$
+ */
+
+#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.
+ */
+
+/** This defines an unsigned 64-bit integer. */
+typedef unsigned long long unsigned64;
+
+/** This defines the type for a priority bit map entry. */
+typedef uint16_t Priority_Bit_map_control;
+
+/** This defines the type for a 64 bit signed integer */
+typedef signed long long signed64;
+
+/** This defines the type for a Boolean value, */
+typedef uint32_t boolean; /* Boolean value */
+
+/** This defines the type for a single precision float. */
+typedef float single_precision;
+/** This defines the type for a double precision float. */
+typedef double double_precision;
+
+/** This defines the return type for an ISR entry point. */
+typedef void blackfin_isr;
+
+/** This defines the prototype for an ISR entry point. */
+typedef blackfin_isr ( *blackfin_isr_entry )( void );
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* !ASM */
+
+#endif