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

4.104.114.84.95
Last change on this file since 0971cd5 was f198c63, checked in by Joel Sherrill <joel.sherrill@…>, on 09/06/96 at 18:11:41

new file for MIPS port by Craig Lebakken (lebakken@…) and
Derrick Ostertag (ostertag@…).

  • 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 *  mips64orion.h,v 1.3 1995/09/26 19:25:40 joel Exp
28 *
29 */
30/* @(#)mips64orion.h       08/29/96     1.3 */
31
32#ifndef _INCLUDE_MIPS64ORION_h
33#define _INCLUDE_MIPS64ORION_h
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39/*
40 *  The following define the CPU Family and Model within the family
41 *
42 *  NOTE: The string "REPLACE_THIS_WITH_THE_CPU_MODEL" is replaced
43 *        with the name of the appropriate macro for this target CPU.
44 */
45 
46#ifdef mips64orion
47#undef mips64orion
48#endif
49#define mips64orion
50
51#ifdef REPLACE_THIS_WITH_THE_CPU_MODEL
52#undef REPLACE_THIS_WITH_THE_CPU_MODEL
53#endif
54#define REPLACE_THIS_WITH_THE_CPU_MODEL
55 
56#ifdef REPLACE_THIS_WITH_THE_BSP
57#undef REPLACE_THIS_WITH_THE_BSP
58#endif
59#define REPLACE_THIS_WITH_THE_BSP
60
61/*
62 *  This file contains the information required to build
63 *  RTEMS for a particular member of the "no cpu"
64 *  family when executing in protected mode.  It does
65 *  this by setting variables to indicate which implementation
66 *  dependent features are present in a particular member
67 *  of the family.
68 */
69 
70#if defined(R4650)
71 
72#define CPU_MODEL_NAME  "R4650"
73#define MIPS64ORION_HAS_FPU     1
74 
75#elif defined(R4600)
76 
77#define CPU_MODEL_NAME  "R4600"
78#define MIPS64ORION_HAS_FPU     1
79
80#else
81 
82#error "Unsupported CPU Model"
83 
84#endif
85
86/*
87 *  Define the name of the CPU family.
88 */
89
90#define CPU_NAME "MIPS R46xxx"
91
92#ifdef __cplusplus
93}
94#endif
95
96#endif /* ! _INCLUDE_MIPS64ORION_h */
97/* end of include file */
Note: See TracBrowser for help on using the repository browser.