source: rtems/cpukit/score/cpu/m32r/rtems/score/m32r.h @ 5bb38e15

4.104.115
Last change on this file since 5bb38e15 was 5bb38e15, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/04/09 at 05:25:30

Whitespace removal.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1/*
2 *  This file sets up basic CPU dependency settings based on
3 *  compiler settings.  For example, it can determine if
4 *  floating point is available.  This particular implementation
5 *  is specified to the NO CPU port.
6 *
7 *  COPYRIGHT (c) 1989-1999.
8 *  On-Line Applications Research Corporation (OAR).
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.rtems.com/license/LICENSE.
13 *
14 *  $Id$
15 */
16
17#ifndef _RTEMS_SCORE_NO_CPU_H
18#define _RTEMS_SCORE_NO_CPU_H
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24/*
25 *  This file contains the information required to build
26 *  RTEMS for a particular member of the NO CPU family.
27 *  It does this by setting variables to indicate which
28 *  implementation dependent features are present in a particular
29 *  member of the family.
30 *
31 *  This is a good place to list all the known CPU models
32 *  that this port supports and which RTEMS CPU model they correspond
33 *  to.
34 */
35
36#if defined(rtems_multilib)
37/*
38 *  Figure out all CPU Model Feature Flags based upon compiler
39 *  predefines.
40 */
41
42#define CPU_MODEL_NAME  "rtems_multilib"
43#define NOCPU_HAS_FPU     1
44
45#elif defined(__m32r__)
46
47#define CPU_MODEL_NAME  "m32r"
48#define NOCPU_HAS_FPU     1
49
50#else
51
52#error "Unsupported CPU Model"
53
54#endif
55
56/*
57 *  Define the name of the CPU family.
58 */
59
60#define CPU_NAME "NO CPU"
61
62#ifdef __cplusplus
63}
64#endif
65
66#endif /* _RTEMS_SCORE_NO_CPU_H */
Note: See TracBrowser for help on using the repository browser.