]>
Commit | Line | Data |
---|---|---|
c906108c SS |
1 | /* Simulator CPU header for m32r. |
2 | ||
3 | THIS FILE IS MACHINE GENERATED WITH CGEN. | |
4 | ||
e2882c85 | 5 | Copyright 1996-2018 Free Software Foundation, Inc. |
c906108c | 6 | |
378af1d6 | 7 | This file is part of the GNU simulators. |
c906108c | 8 | |
e9c60591 DE |
9 | This file 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 3, or (at your option) | |
12 | any later version. | |
c906108c | 13 | |
e9c60591 DE |
14 | It is distributed in the hope that it will be useful, but WITHOUT |
15 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
16 | or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | |
17 | License for more details. | |
c906108c | 18 | |
e9c60591 | 19 | You should have received a copy of the GNU General Public License along |
51b318de | 20 | 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" | |
c906108c SS |
31 | #include "cpu.h" |
32 | #include "decode.h" | |
33 | #endif | |
34 | ||
35 | #ifdef WANT_CPU_M32RXF | |
36 | #include "engx.h" | |
c906108c SS |
37 | #include "cpux.h" |
38 | #include "decodex.h" | |
39 | #endif | |
40 | ||
16b47b25 NC |
41 | #ifdef WANT_CPU_M32R2F |
42 | #include "eng2.h" | |
16b47b25 NC |
43 | #include "cpu2.h" |
44 | #include "decode2.h" | |
45 | #endif | |
46 | ||
8a0ebee6 MF |
47 | extern const SIM_MACH m32r_mach; |
48 | extern const SIM_MACH m32rx_mach; | |
49 | extern const SIM_MACH m32r2_mach; | |
c906108c SS |
50 | |
51 | #ifndef WANT_CPU | |
52 | /* The ARGBUF struct. */ | |
53 | struct argbuf { | |
54 | /* These are the baseclass definitions. */ | |
55 | IADDR addr; | |
56 | const IDESC *idesc; | |
57 | char trace_p; | |
58 | char profile_p; | |
96baa820 JM |
59 | /* ??? Temporary hack for skip insns. */ |
60 | char skip_count; | |
61 | char unused; | |
c906108c SS |
62 | /* cpu specific data follows */ |
63 | }; | |
64 | #endif | |
65 | ||
66 | #ifndef WANT_CPU | |
67 | /* A cached insn. | |
68 | ||
69 | ??? SCACHE used to contain more than just argbuf. We could delete the | |
70 | type entirely and always just use ARGBUF, but for future concerns and as | |
71 | a level of abstraction it is left in. */ | |
72 | ||
73 | struct scache { | |
74 | struct argbuf argbuf; | |
75 | }; | |
76 | #endif | |
77 | ||
78 | #endif /* M32R_CPUALL_H */ |