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

4.104.114.84.95
Last change on this file since f6ed46df 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
RevLine 
[7908ba5b]1/*  no_cpu.h
2 *
[4b9a98c]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.
[7908ba5b]7 *
8 *
[08311cc3]9 *  COPYRIGHT (c) 1989-1999.
[7908ba5b]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
[f226687]14 *  http://www.rtems.com/license/LICENSE.
[7908ba5b]15 *
16 *  $Id$
17 *
18 */
19
[7f70d1b7]20#ifndef _RTEMS_SCORE_NO_CPU_H
21#define _RTEMS_SCORE_NO_CPU_H
[7908ba5b]22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/*
28 *  This file contains the information required to build
[4b9a98c]29 *  RTEMS for a particular member of the NO CPU family.
[df49c60]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.
[7908ba5b]37 */
38 
[df49c60]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)
[7908ba5b]49 
[df49c60]50#define CPU_MODEL_NAME  "no_cpu_model"
[7908ba5b]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
[f6ed46df]69#endif /* _RTEMS_SCORE_NO_CPU_H */
Note: See TracBrowser for help on using the repository browser.