source: rtems/c/src/exec/score/cpu/mips64orion/mips64orion.h @ cda277f

4.104.114.84.95
Last change on this file since cda277f was cda277f, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 11, 1996 at 7:16:07 PM

added $Id$ to file headers

cpu.h: added prototype for _CPU_ISR_Get_level()

  • Property mode set to 100644
File size: 2.5 KB
Line 
1/*  mips64orion.h
2 *
3 *  Author:     Craig Lebakken <craigl@transition.com>
4 *
5 *  COPYRIGHT (c) 1996 by Transition Networks Inc.
6 *
7 *  To anyone who acknowledges that this file is provided "AS IS"
8 *  without any express or implied warranty:
9 *      permission to use, copy, modify, and distribute this file
10 *      for any purpose is hereby granted without fee, provided that
11 *      the above copyright notice and this notice appears in all
12 *      copies, and that the name of Transition Networks not be used in
13 *      advertising or publicity pertaining to distribution of the
14 *      software without specific, written prior permission.
15 *      Transition Networks makes no representations about the suitability
16 *      of this software for any purpose.
17 *
18 *  Derived from c/src/exec/score/cpu/no_cpu/no_cpu.h:
19 *
20 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
21 *  On-Line Applications Research Corporation (OAR).
22 *
23 *  This material may be reproduced by or for the U.S. Government pursuant
24 *  to the copyright license under the clause at DFARS 252.227-7013.  This
25 *  notice must appear in all copies of this file and its derivatives.
26 *
27 *  $Id$
28 */
29/* @(#)mips64orion.h       08/29/96     1.3 */
30
31#ifndef _INCLUDE_MIPS64ORION_h
32#define _INCLUDE_MIPS64ORION_h
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
38/*
39 *  The following define the CPU Family and Model within the family
40 *
41 *  NOTE: The string "REPLACE_THIS_WITH_THE_CPU_MODEL" is replaced
42 *        with the name of the appropriate macro for this target CPU.
43 */
44 
45#ifdef mips64orion
46#undef mips64orion
47#endif
48#define mips64orion
49
50#ifdef REPLACE_THIS_WITH_THE_CPU_MODEL
51#undef REPLACE_THIS_WITH_THE_CPU_MODEL
52#endif
53#define REPLACE_THIS_WITH_THE_CPU_MODEL
54 
55#ifdef REPLACE_THIS_WITH_THE_BSP
56#undef REPLACE_THIS_WITH_THE_BSP
57#endif
58#define REPLACE_THIS_WITH_THE_BSP
59
60/*
61 *  This file contains the information required to build
62 *  RTEMS for a particular member of the "no cpu"
63 *  family when executing in protected mode.  It does
64 *  this by setting variables to indicate which implementation
65 *  dependent features are present in a particular member
66 *  of the family.
67 */
68 
69#if defined(R4650)
70 
71#define CPU_MODEL_NAME  "R4650"
72#define MIPS64ORION_HAS_FPU     1
73 
74#elif defined(R4600)
75 
76#define CPU_MODEL_NAME  "R4600"
77#define MIPS64ORION_HAS_FPU     1
78
79#else
80 
81#error "Unsupported CPU Model"
82 
83#endif
84
85/*
86 *  Define the name of the CPU family.
87 */
88
89#define CPU_NAME "MIPS R46xxx"
90
91#ifdef __cplusplus
92}
93#endif
94
95#endif /* ! _INCLUDE_MIPS64ORION_h */
96/* end of include file */
Note: See TracBrowser for help on using the repository browser.