OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [score/] [cpu/] [no_cpu/] [rtems/] [score/] [no_cpu.h] - Blame information for rev 173

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  no_cpu.h
2
 *
3
 *  This file is an example (i.e. no CPU) of the file which is
4
 *  created for each CPU family port of RTEMS.
5
 *
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.OARcorp.com/rtems/license.html.
13
 *
14
 *  $Id: no_cpu.h,v 1.2 2001-09-27 11:59:29 chris Exp $
15
 *
16
 */
17
 
18
#ifndef _INCLUDE_NO_CPU_h
19
#define _INCLUDE_NO_CPU_h
20
 
21
#ifdef __cplusplus
22
extern "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
#elif defined(no_cpu)
47
 
48
#define CPU_MODEL_NAME  "no_cpu_model"
49
#define NOCPU_HAS_FPU     1
50
 
51
#else
52
 
53
#error "Unsupported CPU Model"
54
 
55
#endif
56
 
57
/*
58
 *  Define the name of the CPU family.
59
 */
60
 
61
#define CPU_NAME "NO CPU"
62
 
63
#ifdef __cplusplus
64
}
65
#endif
66
 
67
#endif /* ! _INCLUDE_NO_CPU_h */
68
/* end of include file */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.