diff options
Diffstat (limited to 'c/src/exec/score/cpu/a29k/a29k.h')
-rw-r--r-- | c/src/exec/score/cpu/a29k/a29k.h | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/a29k/a29k.h b/c/src/exec/score/cpu/a29k/a29k.h new file mode 100644 index 0000000000..c2fa60cd08 --- /dev/null +++ b/c/src/exec/score/cpu/a29k/a29k.h @@ -0,0 +1,75 @@ +/* a29k.h + * + * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. + * On-Line Applications Research Corporation (OAR). + * + * This material may be reproduced by or for the U.S. Government pursuant + * to the copyright license under the clause at DFARS 252.227-7013. This + * notice must appear in all copies of this file and its derivatives. + * + * $Id$ + * + */ +/* @(#)a29k.h 09/12/96 1.2 */ + +#ifndef _INCLUDE_A29K_h +#define _INCLUDE_A29K_h + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * The following define the CPU Family and Model within the family + * + * NOTE: The string "REPLACE_THIS_WITH_THE_CPU_MODEL" is replaced + * with the name of the appropriate macro for this target CPU. + */ + +#ifdef a29k +#undef a29k +#endif +#define a29k + +#ifdef REPLACE_THIS_WITH_THE_CPU_MODEL +#undef REPLACE_THIS_WITH_THE_CPU_MODEL +#endif +#define REPLACE_THIS_WITH_THE_CPU_MODEL + +#ifdef REPLACE_THIS_WITH_THE_BSP +#undef REPLACE_THIS_WITH_THE_BSP +#endif +#define REPLACE_THIS_WITH_THE_BSP + +/* + * 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(a29205) + +#define CPU_MODEL_NAME "a29205" +#define A29K_HAS_FPU 0 + +#else + +#error "Unsupported CPU Model" + +#endif + +/* + * Define the name of the CPU family. + */ + +#define CPU_NAME "AMD 29K" + +#ifdef __cplusplus +} +#endif + +#endif /* ! _INCLUDE_A29K_h */ +/* end of include file */ |