source: rtems/cpukit/score/cpu/h8300/rtems/score/h8300.h @ 5532553

4.104.114.84.95
Last change on this file since 5532553 was 5532553, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 29, 2000 at 11:00:48 PM

This is the initial addition of the port of RTEMS to the
Hitachi H8 family. This port was done by Philip Quaife
<philip@…> 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@…>.
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.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1/*  h8300.h
2 *
3 *  This file contains information pertaining to the Hitachi H8/300
4 *  processor family.
5 *
6 *  COPYRIGHT (c) 1989-1999.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.OARcorp.com/rtems/license.html.
12 *
13 *  $Id$
14 */
15
16#ifndef _INCLUDE_H8300_h
17#define _INCLUDE_H8300_h
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/*
24 *  This file contains the information required to build
25 *  RTEMS for a particular member of the "h8300"
26 *  family when executing in protected mode.  It does
27 *  this by setting variables to indicate which implementation
28 *  dependent features are present in a particular member
29 *  of the family.
30 */
31
32/*
33 *  RTEMS compiles for the base H8 with numerous warnings but has never
34 *  been tested on a CPU with 16 bit address space.
35 *
36 *  FIXME:
37 *  This macro is defined to handle a couple of places where
38 *  addresses are cast to pointers.  There really should be
39 *  a "int-pointer" type that pointers are cast to before being
40 *  mathematcically manipulated.  When that is added, search
41 *  for all references to this macro and remove them.
42 */
43
44#if defined(__H8300__)
45#define RTEMS_CPU_HAS_16_BIT_ADDRESSES 1
46#endif
47 
48#define CPU_NAME  "Hitachi H8300"
49#define CPU_MODEL_NAME  "h8300"
50#define H8300_HAS_FPU     0
51
52#ifdef __cplusplus
53}
54#endif
55
56#endif
57/* end of include file */
Note: See TracBrowser for help on using the repository browser.