source: rtems/cpukit/score/cpu/no_cpu/rtems/score/no_cpu.h @ be129f69

4.104.114.84.95
Last change on this file since be129f69 was f6ed46df, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/04/05 at 05:40:52

Header guards cleanup.

  • Property mode set to 100644
File size: 1.4 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.rtems.com/license/LICENSE.
15 *
16 *  $Id$
17 *
18 */
19
20#ifndef _RTEMS_SCORE_NO_CPU_H
21#define _RTEMS_SCORE_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 /* _RTEMS_SCORE_NO_CPU_H */
Note: See TracBrowser for help on using the repository browser.