]>
Commit | Line | Data |
---|---|---|
edece237 CV |
1 | /* Simulator CPU header for iq2000. |
2 | ||
3 | THIS FILE IS MACHINE GENERATED WITH CGEN. | |
4 | ||
5 | Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. | |
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 | |
4744ac1b JB |
11 | the Free Software Foundation; either version 3 of the License, or |
12 | (at your option) any later version. | |
edece237 CV |
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 | ||
4744ac1b JB |
19 | You should have received a copy of the GNU General Public License |
20 | along with this program. If not, see <http://www.gnu.org/licenses/>. | |
edece237 CV |
21 | |
22 | */ | |
23 | ||
24 | #ifndef IQ2000_CPUALL_H | |
25 | #define IQ2000_CPUALL_H | |
26 | ||
27 | /* Include files for each cpu family. */ | |
28 | ||
29 | #ifdef WANT_CPU_IQ2000BF | |
30 | #include "eng.h" | |
31 | #include "cgen-engine.h" | |
32 | #include "cpu.h" | |
33 | #include "decode.h" | |
34 | #endif | |
35 | ||
36 | #ifdef WANT_CPU_IQ10BF | |
37 | #include "eng.h" | |
38 | #include "cgen-engine.h" | |
39 | #include "cpu.h" | |
40 | #include "decode.h" | |
41 | #endif | |
42 | ||
43 | extern const MACH iq2000_mach; | |
44 | ||
45 | #ifndef WANT_CPU | |
46 | /* The ARGBUF struct. */ | |
47 | struct argbuf { | |
48 | /* These are the baseclass definitions. */ | |
49 | IADDR addr; | |
50 | const IDESC *idesc; | |
51 | char trace_p; | |
52 | char profile_p; | |
53 | /* ??? Temporary hack for skip insns. */ | |
54 | char skip_count; | |
55 | char unused; | |
56 | /* cpu specific data follows */ | |
57 | }; | |
58 | #endif | |
59 | ||
60 | #ifndef WANT_CPU | |
61 | /* A cached insn. | |
62 | ||
63 | ??? SCACHE used to contain more than just argbuf. We could delete the | |
64 | type entirely and always just use ARGBUF, but for future concerns and as | |
65 | a level of abstraction it is left in. */ | |
66 | ||
67 | struct scache { | |
68 | struct argbuf argbuf; | |
69 | }; | |
70 | #endif | |
71 | ||
72 | #endif /* IQ2000_CPUALL_H */ |