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

Subversion Repositories openrisc_me

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  or1k.h
2
 *
3
 *  This include file contains Or1k definitions pertaining to the Opencores
4
 *  or1k processor family.
5
 *
6
 *  COPYRIGHT (c) 1989-1999.
7
 *  On-Line Applications Research Corporation (OAR).
8
 *
9
 *  The license and distribution terms for this file may be
10
 *  found in the file LICENSE in this distribution or at
11
 *  http://www.OARcorp.com/rtems/license.html.
12
 *
13
 *  This file adapted from no_cpu example of the RTEMS distribution.
14
 *  The body has been modified for the Opencores Or1k implementation by
15
 *  Chris Ziomkowski. <chris@asics.ws>
16
 *
17
 */
18
 
19
#ifndef _OR1K_H
20
#define _OR1K_H
21
 
22
#ifdef __cplusplus
23
extern "C" {
24
#endif
25
 
26
/*
27
 *  This file contains the information required to build
28
 *  RTEMS for a particular member of the or1k CPU family.
29
 *  It does this by setting variables to indicate which
30
 *  implementation dependent features are present in a particular
31
 *  member of the family.
32
 *
33
 *  This is a good place to list all the known CPU models
34
 *  that this port supports and which RTEMS CPU model they correspond
35
 *  to.
36
 */
37
 
38
#if defined(rtems_multilib)
39
/*
40
 *  Figure out all CPU Model Feature Flags based upon compiler
41
 *  predefines.
42
 */
43
 
44
#define CPU_MODEL_NAME  "rtems_multilib"
45
#define OR1K_HAS_FPU     1
46
 
47
#elif defined(or1200)
48
 
49
#define CPU_MODEL_NAME  "OR1200"
50
#define OR1K_HAS_FPU     0
51
 
52
#else
53
 
54
#define CPU_MODEL_NAME "Generic Or1k Compatible"
55
#define OR1K_HAS_FPU    0
56
 
57
#endif
58
 
59
/*
60
 *  Define the name of the CPU family.
61
 */
62
 
63
#define CPU_NAME "OpenRisc 1000"
64
 
65
#ifdef __cplusplus
66
}
67
#endif
68
 
69
#endif /* ! _INCLUDE_NO_CPU_h */
70
/* end of include file */

powered by: WebSVN 2.1.0

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