From 5532553209555c0a5a3c11206ff16192dd465160 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 29 Jun 2000 23:00:48 +0000 Subject: This is the initial addition of the port of RTEMS to the Hitachi H8 family. This port was done by Philip Quaife 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 . 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. --- c/src/exec/score/cpu/h8300/rtems/score/types.h | 56 ++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 c/src/exec/score/cpu/h8300/rtems/score/types.h (limited to 'c/src/exec/score/cpu/h8300/rtems/score/types.h') diff --git a/c/src/exec/score/cpu/h8300/rtems/score/types.h b/c/src/exec/score/cpu/h8300/rtems/score/types.h new file mode 100644 index 0000000000..d1fec2699e --- /dev/null +++ b/c/src/exec/score/cpu/h8300/rtems/score/types.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 */ -- cgit v1.2.3