[f198c63] | 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 | * |
---|
[0e7da15] | 18 | * Derived from source copyrighted as follows: |
---|
[f198c63] | 19 | * |
---|
[08311cc3] | 20 | * COPYRIGHT (c) 1989-1999. |
---|
[f198c63] | 21 | * On-Line Applications Research Corporation (OAR). |
---|
| 22 | * |
---|
[98e4ebf5] | 23 | * The license and distribution terms for this file may be |
---|
| 24 | * found in the file LICENSE in this distribution or at |
---|
[ef815a2] | 25 | * http://www.rtems.com/license/LICENSE. |
---|
[f198c63] | 26 | * |
---|
[cda277f] | 27 | * $Id$ |
---|
[f198c63] | 28 | */ |
---|
| 29 | /* @(#)mips64orion.h 08/29/96 1.3 */ |
---|
| 30 | |
---|
| 31 | #ifndef _INCLUDE_MIPS64ORION_h |
---|
| 32 | #define _INCLUDE_MIPS64ORION_h |
---|
| 33 | |
---|
| 34 | #ifdef __cplusplus |
---|
| 35 | extern "C" { |
---|
| 36 | #endif |
---|
| 37 | |
---|
| 38 | /* |
---|
| 39 | * This file contains the information required to build |
---|
| 40 | * RTEMS for a particular member of the "no cpu" |
---|
| 41 | * family when executing in protected mode. It does |
---|
| 42 | * this by setting variables to indicate which implementation |
---|
| 43 | * dependent features are present in a particular member |
---|
| 44 | * of the family. |
---|
| 45 | */ |
---|
| 46 | |
---|
[df49c60] | 47 | #if defined(rtems_multilib) |
---|
| 48 | /* |
---|
| 49 | * Figure out all CPU Model Feature Flags based upon compiler |
---|
| 50 | * predefines. |
---|
| 51 | */ |
---|
| 52 | |
---|
| 53 | #define CPU_MODEL_NAME "rtems_multilib" |
---|
| 54 | #define MIPS64ORION_HAS_FPU 1 |
---|
| 55 | |
---|
| 56 | #elif defined(R4650) |
---|
[f198c63] | 57 | |
---|
| 58 | #define CPU_MODEL_NAME "R4650" |
---|
| 59 | #define MIPS64ORION_HAS_FPU 1 |
---|
| 60 | |
---|
| 61 | #elif defined(R4600) |
---|
| 62 | |
---|
| 63 | #define CPU_MODEL_NAME "R4600" |
---|
| 64 | #define MIPS64ORION_HAS_FPU 1 |
---|
| 65 | |
---|
| 66 | #else |
---|
| 67 | |
---|
| 68 | #error "Unsupported CPU Model" |
---|
| 69 | |
---|
| 70 | #endif |
---|
| 71 | |
---|
| 72 | /* |
---|
| 73 | * Define the name of the CPU family. |
---|
| 74 | */ |
---|
| 75 | |
---|
| 76 | #define CPU_NAME "MIPS R46xxx" |
---|
| 77 | |
---|
| 78 | #ifdef __cplusplus |
---|
| 79 | } |
---|
| 80 | #endif |
---|
| 81 | |
---|
| 82 | #endif /* ! _INCLUDE_MIPS64ORION_h */ |
---|
| 83 | /* end of include file */ |
---|