summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/c4x/rtems/score/c4xtypes.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-02-22 18:39:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-02-22 18:39:52 +0000
commit61ba976360804d85f9203821518bb4b132852188 (patch)
tree28e72dd94472e21da42f5f5d1e82912a9f83852a /c/src/exec/score/cpu/c4x/rtems/score/c4xtypes.h
parentAdding information on prebuilt toolset binaries. (diff)
downloadrtems-61ba976360804d85f9203821518bb4b132852188.tar.bz2
New port of RTEMS to TI C3x and C4x.
Diffstat (limited to 'c/src/exec/score/cpu/c4x/rtems/score/c4xtypes.h')
-rw-r--r--c/src/exec/score/cpu/c4x/rtems/score/c4xtypes.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/c4x/rtems/score/c4xtypes.h b/c/src/exec/score/cpu/c4x/rtems/score/c4xtypes.h
new file mode 100644
index 0000000000..89d7bc3c35
--- /dev/null
+++ b/c/src/exec/score/cpu/c4x/rtems/score/c4xtypes.h
@@ -0,0 +1,56 @@
+/* c4xtypes.h
+ *
+ * This include file contains type definitions pertaining to the Intel
+ * C4x 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.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#ifndef __C4X_TYPES_h
+#define __C4X_TYPES_h
+
+#ifndef ASM
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * This section defines the basic types for this processor.
+ */
+
+typedef unsigned char unsigned8; /* unsigned 8-bit integer */
+typedef unsigned short unsigned16; /* unsigned 16-bit integer */
+typedef unsigned int unsigned32; /* unsigned 32-bit integer */
+typedef unsigned long long unsigned64; /* unsigned 64-bit integer */
+
+typedef unsigned16 Priority_Bit_map_control;
+
+typedef signed char signed8; /* 8-bit signed integer */
+typedef signed short signed16; /* 16-bit signed integer */
+typedef signed int signed32; /* 32-bit signed integer */
+typedef signed long long signed64; /* 64 bit signed integer */
+
+typedef unsigned32 boolean; /* Boolean value */
+
+typedef float single_precision; /* single precision float */
+typedef double double_precision; /* double precision float */
+
+typedef void c4x_isr;
+typedef void ( *c4x_isr_entry )( void );
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* !ASM */
+
+#endif
+/* end of include file */