Commit | Line | Data |
---|---|---|
c906108c SS |
1 | /* Simulator CPU header for m32r. |
2 | ||
3 | THIS FILE IS MACHINE GENERATED WITH CGEN. | |
4 | ||
16b47b25 | 5 | Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. |
c906108c | 6 | |
378af1d6 | 7 | This file is part of the GNU simulators. |
c906108c SS |
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. | |
c906108c SS |
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/>. | |
c906108c SS |
21 | |
22 | */ | |
23 | ||
24 | #ifndef M32R_CPUALL_H | |
25 | #define M32R_CPUALL_H | |
26 | ||
27 | /* Include files for each cpu family. */ | |
28 | ||
29 | #ifdef WANT_CPU_M32RBF | |
30 | #include "eng.h" | |
31 | #include "cgen-engine.h" | |
32 | #include "cpu.h" | |
33 | #include "decode.h" | |
34 | #endif | |
35 | ||
36 | #ifdef WANT_CPU_M32RXF | |
37 | #include "engx.h" | |
38 | #include "cgen-engine.h" | |
39 | #include "cpux.h" | |
40 | #include "decodex.h" | |
41 | #endif | |
42 | ||
16b47b25 NC |
43 | #ifdef WANT_CPU_M32R2F |
44 | #include "eng2.h" | |
45 | #include "cgen-engine.h" | |
46 | #include "cpu2.h" | |
47 | #include "decode2.h" | |
48 | #endif | |
49 | ||
c906108c | 50 | extern const MACH m32r_mach; |
2df3850c | 51 | extern const MACH m32rx_mach; |
16b47b25 | 52 | extern const MACH m32r2_mach; |
c906108c SS |
53 | |
54 | #ifndef WANT_CPU | |
55 | /* The ARGBUF struct. */ | |
56 | struct argbuf { | |
57 | /* These are the baseclass definitions. */ | |
58 | IADDR addr; | |
59 | const IDESC *idesc; | |
60 | char trace_p; | |
61 | char profile_p; | |
96baa820 JM |
62 | /* ??? Temporary hack for skip insns. */ |
63 | char skip_count; | |
64 | char unused; | |
c906108c SS |
65 | /* cpu specific data follows */ |
66 | }; | |
67 | #endif | |
68 | ||
69 | #ifndef WANT_CPU | |
70 | /* A cached insn. | |
71 | ||
72 | ??? SCACHE used to contain more than just argbuf. We could delete the | |
73 | type entirely and always just use ARGBUF, but for future concerns and as | |
74 | a level of abstraction it is left in. */ | |
75 | ||
76 | struct scache { | |
77 | struct argbuf argbuf; | |
78 | }; | |
79 | #endif | |
80 | ||
81 | #endif /* M32R_CPUALL_H */ |