Add support for the m32r2 processor
[deliverable/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, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
6
7 This file is part of the GNU simulators.
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
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
51 extern const MACH m32r_mach;
52 extern const MACH m32rx_mach;
53 extern const MACH m32r2_mach;
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;
63 /* ??? Temporary hack for skip insns. */
64 char skip_count;
65 char unused;
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 */
This page took 0.033792 seconds and 5 git commands to generate.