1 | /* a29k.h |
---|
2 | * |
---|
3 | * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. |
---|
4 | * On-Line Applications Research Corporation (OAR). |
---|
5 | * |
---|
6 | * This material may be reproduced by or for the U.S. Government pursuant |
---|
7 | * to the copyright license under the clause at DFARS 252.227-7013. This |
---|
8 | * notice must appear in all copies of this file and its derivatives. |
---|
9 | * |
---|
10 | * $Id$ |
---|
11 | * |
---|
12 | */ |
---|
13 | /* @(#)a29k.h 10/21/96 1.3 */ |
---|
14 | |
---|
15 | #ifndef _INCLUDE_A29K_h |
---|
16 | #define _INCLUDE_A29K_h |
---|
17 | |
---|
18 | #ifdef __cplusplus |
---|
19 | extern "C" { |
---|
20 | #endif |
---|
21 | |
---|
22 | /* |
---|
23 | * The following define the CPU Family and Model within the family |
---|
24 | * |
---|
25 | * NOTE: The string "REPLACE_THIS_WITH_THE_CPU_MODEL" is replaced |
---|
26 | * with the name of the appropriate macro for this target CPU. |
---|
27 | */ |
---|
28 | |
---|
29 | #ifdef a29k |
---|
30 | #undef a29k |
---|
31 | #endif |
---|
32 | #define a29k |
---|
33 | |
---|
34 | #ifdef REPLACE_THIS_WITH_THE_CPU_MODEL |
---|
35 | #undef REPLACE_THIS_WITH_THE_CPU_MODEL |
---|
36 | #endif |
---|
37 | #define REPLACE_THIS_WITH_THE_CPU_MODEL |
---|
38 | |
---|
39 | #ifdef REPLACE_THIS_WITH_THE_BSP |
---|
40 | #undef REPLACE_THIS_WITH_THE_BSP |
---|
41 | #endif |
---|
42 | #define REPLACE_THIS_WITH_THE_BSP |
---|
43 | |
---|
44 | /* |
---|
45 | * This file contains the information required to build |
---|
46 | * RTEMS for a particular member of the "no cpu" |
---|
47 | * family when executing in protected mode. It does |
---|
48 | * this by setting variables to indicate which implementation |
---|
49 | * dependent features are present in a particular member |
---|
50 | * of the family. |
---|
51 | */ |
---|
52 | |
---|
53 | #if defined(a29205) |
---|
54 | |
---|
55 | #define CPU_MODEL_NAME "a29205" |
---|
56 | #define A29K_HAS_FPU 0 |
---|
57 | |
---|
58 | #else |
---|
59 | |
---|
60 | #error "Unsupported CPU Model" |
---|
61 | |
---|
62 | #endif |
---|
63 | |
---|
64 | /* |
---|
65 | * Define the name of the CPU family. |
---|
66 | */ |
---|
67 | |
---|
68 | #define CPU_NAME "AMD 29K" |
---|
69 | |
---|
70 | /* |
---|
71 | * Some bits in the CPS: |
---|
72 | */ |
---|
73 | #define TD 0x20000 |
---|
74 | #define DI 0x00002 |
---|
75 | |
---|
76 | #ifdef __cplusplus |
---|
77 | } |
---|
78 | #endif |
---|
79 | |
---|
80 | #endif /* ! _INCLUDE_A29K_h */ |
---|
81 | /* end of include file */ |
---|