summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/h8300/rtems/score/h8300types.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-29 23:00:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-29 23:00:48 +0000
commit5532553209555c0a5a3c11206ff16192dd465160 (patch)
tree82b8bea30e32fb1928cb4e26f5d5415ff84ea42a /c/src/exec/score/cpu/h8300/rtems/score/h8300types.h
parent7a30efd2b77037df4fe0451654906c3f117a8741 (diff)
downloadrtems-5532553209555c0a5a3c11206ff16192dd465160.tar.bz2
This is the initial addition of the port of RTEMS to the
Hitachi H8 family. This port was done by Philip Quaife <philip@qs.co.nz> of Q Solutions and sponsored by Comnet Technologies Ltd. The port was done based on RTEMS 3.5.1 to a Hitach H8300H. The port was updated to RTEMS 4.5 style Makefiles/configure by Joel Sherrill <joel@OARcorp.com>. While doing this Joel added support for the h8300-rtems to binutils, gcc, newlib, and gdb. NOTE: Philip submitted a BSP for a Hitachi evaluation board which is being merged as a separate entity.
Diffstat (limited to 'c/src/exec/score/cpu/h8300/rtems/score/h8300types.h')
-rw-r--r--c/src/exec/score/cpu/h8300/rtems/score/h8300types.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/h8300/rtems/score/h8300types.h b/c/src/exec/score/cpu/h8300/rtems/score/h8300types.h
new file mode 100644
index 0000000000..d1fec2699e
--- /dev/null
+++ b/c/src/exec/score/cpu/h8300/rtems/score/h8300types.h
@@ -0,0 +1,56 @@
+/* h8300types.h
+ *
+ * This include file contains type definitions pertaining to the Hitachi
+ * h8300 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 __H8300_TYPES_h
+#define __H8300_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 long 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 long 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 h8300_isr;
+typedef void ( *h8300_isr_entry )( void );
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* !ASM */
+
+#endif
+/* end of include file */