source: rtems/cpukit/score/cpu/microblaze/rtems/score/microblaze.h @ edf8b49e

Last change on this file since edf8b49e was edf8b49e, checked in by Joel Sherrill <joel@…>, on 09/29/21 at 17:39:36

score: Add MicroBlaze? port

  • Property mode set to 100644
File size: 1.5 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-2011.
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: no_cpu.h,v 1.9 2009/12/02 09:48:25 ralf Exp $
15 *
16 */
17
18#ifndef _RTEMS_SCORE_NO_CPU_H
19#define _RTEMS_SCORE_NO_CPU_H
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25/*
26 *  This file contains the information required to build
27 *  RTEMS for a particular member of the NO CPU family.
28 *  It does this by setting variables to indicate which
29 *  implementation dependent features are present in a particular
30 *  member of the family.
31 *
32 *  This is a good place to list all the known CPU models
33 *  that this port supports and which RTEMS CPU model they correspond
34 *  to.
35 */
36
37#if defined(rtems_multilib)
38/*
39 *  Figure out all CPU Model Feature Flags based upon compiler
40 *  predefines.
41 */
42
43#define CPU_MODEL_NAME  "rtems_multilib"
44#define NOCPU_HAS_FPU     1
45
46#else
47/* if defined(__MICROBLAZE__) */
48
49#define CPU_MODEL_NAME  "MicroBlaze"
50#define NOCPU_HAS_FPU     1
51
52/*
53#else
54
55#error "Unsupported CPU Model"
56*/
57
58#endif
59
60/*
61 *  Define the name of the CPU family.
62 */
63
64#define CPU_NAME "MicroBlaze CPU"
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif /* _RTEMS_SCORE_NO_CPU_H */
Note: See TracBrowser for help on using the repository browser.