]>
Commit | Line | Data |
---|---|---|
c906108c SS |
1 | /* Simulator CPU header for m32r. |
2 | ||
3 | THIS FILE IS MACHINE GENERATED WITH CGEN. | |
4 | ||
1d506c26 | 5 | Copyright (C) 1996-2024 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 |
9d4f3616 AM |
20 | with this program; if not, write to the Free Software Foundation, Inc., |
21 | 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. | |
c906108c SS |
22 | |
23 | */ | |
24 | ||
25 | #ifndef M32R_CPUALL_H | |
26 | #define M32R_CPUALL_H | |
27 | ||
28 | /* Include files for each cpu family. */ | |
29 | ||
30 | #ifdef WANT_CPU_M32RBF | |
31 | #include "eng.h" | |
c906108c SS |
32 | #include "cpu.h" |
33 | #include "decode.h" | |
34 | #endif | |
35 | ||
36 | #ifdef WANT_CPU_M32RXF | |
37 | #include "engx.h" | |
c906108c SS |
38 | #include "cpux.h" |
39 | #include "decodex.h" | |
40 | #endif | |
41 | ||
16b47b25 NC |
42 | #ifdef WANT_CPU_M32R2F |
43 | #include "eng2.h" | |
16b47b25 NC |
44 | #include "cpu2.h" |
45 | #include "decode2.h" | |
46 | #endif | |
47 | ||
8a0ebee6 MF |
48 | extern const SIM_MACH m32r_mach; |
49 | extern const SIM_MACH m32rx_mach; | |
50 | extern const SIM_MACH m32r2_mach; | |
c906108c SS |
51 | |
52 | #ifndef WANT_CPU | |
53 | /* The ARGBUF struct. */ | |
54 | struct argbuf { | |
55 | /* These are the baseclass definitions. */ | |
56 | IADDR addr; | |
57 | const IDESC *idesc; | |
58 | char trace_p; | |
59 | char profile_p; | |
96baa820 JM |
60 | /* ??? Temporary hack for skip insns. */ |
61 | char skip_count; | |
62 | char unused; | |
c906108c SS |
63 | /* cpu specific data follows */ |
64 | }; | |
65 | #endif | |
66 | ||
67 | #ifndef WANT_CPU | |
68 | /* A cached insn. | |
69 | ||
70 | ??? SCACHE used to contain more than just argbuf. We could delete the | |
71 | type entirely and always just use ARGBUF, but for future concerns and as | |
72 | a level of abstraction it is left in. */ | |
73 | ||
74 | struct scache { | |
75 | struct argbuf argbuf; | |
76 | }; | |
77 | #endif | |
78 | ||
79 | #endif /* M32R_CPUALL_H */ |