]>
Commit | Line | Data |
---|---|---|
f6bcefef HPN |
1 | /* Simulator CPU header for cris. |
2 | ||
3 | THIS FILE IS MACHINE GENERATED WITH CGEN. | |
4 | ||
cce0efb5 | 5 | Copyright 1996-2005 Free Software Foundation, Inc. |
f6bcefef HPN |
6 | |
7 | This file is part of the GNU simulators. | |
8 | ||
9 | This program is free software; you can redistribute it and/or modify | |
10 | it under the terms of the GNU General Public License as published by | |
11 | the Free Software Foundation; either version 2, or (at your option) | |
12 | any later version. | |
13 | ||
14 | This program is distributed in the hope that it will be useful, | |
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | GNU General Public License for more details. | |
18 | ||
19 | You should have received a copy of the GNU General Public License along | |
20 | with this program; if not, write to the Free Software Foundation, Inc., | |
cf2bf87e | 21 | 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. |
f6bcefef HPN |
22 | |
23 | */ | |
24 | ||
25 | #ifndef CRIS_CPUALL_H | |
26 | #define CRIS_CPUALL_H | |
27 | ||
28 | /* Include files for each cpu family. */ | |
29 | ||
30 | #ifdef WANT_CPU_CRISV0F | |
31 | #include "engv0.h" | |
32 | #include "cgen-engine.h" | |
33 | #include "cpuv0.h" | |
34 | #include "decodev0.h" | |
35 | #endif | |
36 | ||
37 | #ifdef WANT_CPU_CRISV3F | |
38 | #include "engv3.h" | |
39 | #include "cgen-engine.h" | |
40 | #include "cpuv3.h" | |
41 | #include "decodev3.h" | |
42 | #endif | |
43 | ||
44 | #ifdef WANT_CPU_CRISV8F | |
45 | #include "engv8.h" | |
46 | #include "cgen-engine.h" | |
47 | #include "cpuv8.h" | |
48 | #include "decodev8.h" | |
49 | #endif | |
50 | ||
51 | #ifdef WANT_CPU_CRISV10F | |
52 | #include "engv10.h" | |
53 | #include "cgen-engine.h" | |
54 | #include "cpuv10.h" | |
55 | #include "decodev10.h" | |
56 | #endif | |
57 | ||
58 | #ifdef WANT_CPU_CRISV32F | |
59 | #include "engv32.h" | |
60 | #include "cgen-engine.h" | |
61 | #include "cpuv32.h" | |
62 | #include "decodev32.h" | |
63 | #endif | |
64 | ||
65 | extern const MACH crisv10_mach; | |
66 | extern const MACH crisv32_mach; | |
67 | ||
68 | #ifndef WANT_CPU | |
69 | /* The ARGBUF struct. */ | |
70 | struct argbuf { | |
71 | /* These are the baseclass definitions. */ | |
72 | IADDR addr; | |
73 | const IDESC *idesc; | |
74 | char trace_p; | |
75 | char profile_p; | |
76 | /* ??? Temporary hack for skip insns. */ | |
77 | char skip_count; | |
78 | char unused; | |
79 | /* cpu specific data follows */ | |
80 | }; | |
81 | #endif | |
82 | ||
83 | #ifndef WANT_CPU | |
84 | /* A cached insn. | |
85 | ||
86 | ??? SCACHE used to contain more than just argbuf. We could delete the | |
87 | type entirely and always just use ARGBUF, but for future concerns and as | |
88 | a level of abstraction it is left in. */ | |
89 | ||
90 | struct scache { | |
91 | struct argbuf argbuf; | |
92 | }; | |
93 | #endif | |
94 | ||
95 | #endif /* CRIS_CPUALL_H */ |