source: rtems/cpukit/score/cpu/h8300/rtems/score/h8300.h @ 8adc214

4.104.114.84.95
Last change on this file since 8adc214 was 8adc214, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/21/04 at 11:35:50

Cosmetics.

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