source: rtems/cpukit/score/cpu/no_cpu/rtems/score/no_cpu.h @ 4b9a98c

4.104.114.84.95
Last change on this file since 4b9a98c was 4b9a98c, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 25, 2000 at 5:17:06 PM

2000-08-25 Joel Sherrill <joel.sherrill@…>

  • rtems/score/no_cpu.h: Modified so there are fewer and more consistent variations on "no cpu" so it is easier to sed the source as the starting point for a new port.
  • Property mode set to 100644
File size: 1.5 KB
Line 
1/*  no_cpu.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 NO CPU 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_NO_CPU_h
21#define _INCLUDE_NO_CPU_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 NO CPU 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 NOCPU_HAS_FPU     1
47
48#elif defined(no_cpu)
49 
50#define CPU_MODEL_NAME  "no_cpu_model"
51#define NOCPU_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 "NO CPU"
64
65#ifdef __cplusplus
66}
67#endif
68
69#endif /* ! _INCLUDE_NO_CPU_h */
70/* end of include file */
Note: See TracBrowser for help on using the repository browser.