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 | |
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., | |
21 | 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
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" | |
32 | #include "cgen-engine.h" | |
33 | #include "cpu.h" | |
34 | #include "decode.h" | |
35 | #endif | |
36 | ||
37 | #ifdef WANT_CPU_M32RXF | |
38 | #include "engx.h" | |
39 | #include "cgen-engine.h" | |
40 | #include "cpux.h" | |
41 | #include "decodex.h" | |
42 | #endif | |
43 | ||
16b47b25 NC |
44 | #ifdef WANT_CPU_M32R2F |
45 | #include "eng2.h" | |
46 | #include "cgen-engine.h" | |
47 | #include "cpu2.h" | |
48 | #include "decode2.h" | |
49 | #endif | |
50 | ||
c906108c | 51 | extern const MACH m32r_mach; |
2df3850c | 52 | extern const MACH m32rx_mach; |
16b47b25 | 53 | extern const MACH m32r2_mach; |
c906108c SS |
54 | |
55 | #ifndef WANT_CPU | |
56 | /* The ARGBUF struct. */ | |
57 | struct argbuf { | |
58 | /* These are the baseclass definitions. */ | |
59 | IADDR addr; | |
60 | const IDESC *idesc; | |
61 | char trace_p; | |
62 | char profile_p; | |
96baa820 JM |
63 | /* ??? Temporary hack for skip insns. */ |
64 | char skip_count; | |
65 | char unused; | |
c906108c SS |
66 | /* cpu specific data follows */ |
67 | }; | |
68 | #endif | |
69 | ||
70 | #ifndef WANT_CPU | |
71 | /* A cached insn. | |
72 | ||
73 | ??? SCACHE used to contain more than just argbuf. We could delete the | |
74 | type entirely and always just use ARGBUF, but for future concerns and as | |
75 | a level of abstraction it is left in. */ | |
76 | ||
77 | struct scache { | |
78 | struct argbuf argbuf; | |
79 | }; | |
80 | #endif | |
81 | ||
82 | #endif /* M32R_CPUALL_H */ |