diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-02-19 23:26:19 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-02-19 23:26:19 +0000 |
commit | 77138089c5989df44341e9a58ab212881294e327 (patch) | |
tree | 61d1015d21a6f9898c0d4114b2d31ab8881541e4 /c/src/exec/score/cpu/mips/rtems/score/mips.h | |
parent | Added new PowerPC boards. (diff) | |
download | rtems-77138089c5989df44341e9a58ab212881294e327.tar.bz2 |
Moved to proper rtems/score
Diffstat (limited to 'c/src/exec/score/cpu/mips/rtems/score/mips.h')
-rw-r--r-- | c/src/exec/score/cpu/mips/rtems/score/mips.h | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/mips/rtems/score/mips.h b/c/src/exec/score/cpu/mips/rtems/score/mips.h new file mode 100644 index 0000000000..ec89a32a0d --- /dev/null +++ b/c/src/exec/score/cpu/mips/rtems/score/mips.h @@ -0,0 +1,74 @@ +/* mips64orion.h + * + * Author: Craig Lebakken <craigl@transition.com> + * + * COPYRIGHT (c) 1996 by Transition Networks Inc. + * + * To anyone who acknowledges that this file is provided "AS IS" + * without any express or implied warranty: + * permission to use, copy, modify, and distribute this file + * for any purpose is hereby granted without fee, provided that + * the above copyright notice and this notice appears in all + * copies, and that the name of Transition Networks not be used in + * advertising or publicity pertaining to distribution of the + * software without specific, written prior permission. + * Transition Networks makes no representations about the suitability + * of this software for any purpose. + * + * Derived from c/src/exec/score/cpu/no_cpu/no_cpu.h: + * + * COPYRIGHT (c) 1989-1998. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.OARcorp.com/rtems/license.html. + * + * $Id$ + */ +/* @(#)mips64orion.h 08/29/96 1.3 */ + +#ifndef _INCLUDE_MIPS64ORION_h +#define _INCLUDE_MIPS64ORION_h + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * This file contains the information required to build + * RTEMS for a particular member of the "no cpu" + * family when executing in protected mode. It does + * this by setting variables to indicate which implementation + * dependent features are present in a particular member + * of the family. + */ + +#if defined(R4650) + +#define CPU_MODEL_NAME "R4650" +#define MIPS64ORION_HAS_FPU 1 + +#elif defined(R4600) + +#define CPU_MODEL_NAME "R4600" +#define MIPS64ORION_HAS_FPU 1 + +#else + +#error "Unsupported CPU Model" + +#endif + +/* + * Define the name of the CPU family. + */ + +#define CPU_NAME "MIPS R46xxx" + +#ifdef __cplusplus +} +#endif + +#endif /* ! _INCLUDE_MIPS64ORION_h */ +/* end of include file */ |