source: rtems/cpukit/score/cpu/or16/rtems/score/or16.h @ ee511076

4.104.114.84.95
Last change on this file since ee511076 was ee511076, checked in by Joel Sherrill <joel.sherrill@…>, on 08/11/00 at 21:52:06

2000-08-11 Joel Sherrill <joel@…>

  • Shell added for or16 port based on no_cpu port with names replaced.
  • Property mode set to 100644
File size: 1.5 KB
Line 
1/*  or16.h
2 *
3 *  This file sets up basic CPU dependency settings based on
4 *  compiler settings.  For example, it can determine if
5 *  floating point is available.  This particular implementation
6 *  is specified to the OPENCORES.ORG OR16 port.
7 *
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.OARcorp.com/rtems/license.html.
15 *
16 *  $Id$
17 *
18 */
19
20#ifndef _INCLUDE_OR16_h
21#define _INCLUDE_OR16_h
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/*
28 *  This file contains the information required to build
29 *  RTEMS for a particular member of the OPENCORES.ORG OR16 family.
30 *  It does this by setting variables to indicate which
31 *  implementation dependent features are present in a particular
32 *  member of the family.
33 *
34 *  This is a good place to list all the known CPU models
35 *  that this port supports and which RTEMS CPU model they correspond
36 *  to.
37 */
38 
39#if defined(rtems_multilib)
40/*
41 *  Figure out all CPU Model Feature Flags based upon compiler
42 *  predefines.
43 */
44
45#define CPU_MODEL_NAME  "rtems_multilib"
46#define OR16_HAS_FPU     1
47
48#elif defined(or16)
49 
50#define CPU_MODEL_NAME  "or16_model"
51#define OR16_HAS_FPU     1
52 
53#else
54 
55#error "Unsupported CPU Model"
56 
57#endif
58
59/*
60 *  Define the name of the CPU family.
61 */
62
63#define CPU_NAME "OPENCORES.ORG OR16"
64
65#ifdef __cplusplus
66}
67#endif
68
69#endif /* ! _INCLUDE_OR16_h */
70/* end of include file */
Note: See TracBrowser for help on using the repository browser.