]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/m32r/cpuall.h
Update years in copyright notice for the GDB files.
[thirdparty/binutils-gdb.git] / sim / m32r / cpuall.h
1 /* Simulator CPU header for m32r.
2
3 THIS FILE IS MACHINE GENERATED WITH CGEN.
4
5 Copyright 1996-2013 Free Software Foundation, Inc.
6
7 This file is part of the GNU simulators.
8
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.
13
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.
18
19 You should have received a copy of the GNU General Public License along
20 with this program; if not, see <http://www.gnu.org/licenses/>.
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 "cpu.h"
32 #include "decode.h"
33 #endif
34
35 #ifdef WANT_CPU_M32RXF
36 #include "engx.h"
37 #include "cpux.h"
38 #include "decodex.h"
39 #endif
40
41 #ifdef WANT_CPU_M32R2F
42 #include "eng2.h"
43 #include "cpu2.h"
44 #include "decode2.h"
45 #endif
46
47 extern const MACH m32r_mach;
48 extern const MACH m32rx_mach;
49 extern const MACH m32r2_mach;
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;
59 /* ??? Temporary hack for skip insns. */
60 char skip_count;
61 char unused;
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 */