Commit | Line | Data |
---|---|---|
b34f6357 DB |
1 | /* Simulator CPU header for frv. |
2 | ||
3 | THIS FILE IS MACHINE GENERATED WITH CGEN. | |
4 | ||
32d0add0 | 5 | Copyright 1996-2015 Free Software Foundation, Inc. |
b34f6357 DB |
6 | |
7 | This file is part of the GNU simulators. | |
8 | ||
bce3bbcb HPN |
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. | |
b34f6357 | 13 | |
bce3bbcb HPN |
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. | |
b34f6357 | 18 | |
bce3bbcb | 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/>. |
b34f6357 DB |
21 | |
22 | */ | |
23 | ||
24 | #ifndef FRV_CPUALL_H | |
25 | #define FRV_CPUALL_H | |
26 | ||
27 | /* Include files for each cpu family. */ | |
28 | ||
29 | #ifdef WANT_CPU_FRVBF | |
30 | #include "eng.h" | |
b34f6357 DB |
31 | #include "cpu.h" |
32 | #include "decode.h" | |
33 | #endif | |
34 | ||
35 | extern const MACH frv_mach; | |
e930b1f5 | 36 | extern const MACH fr550_mach; |
b34f6357 DB |
37 | extern const MACH fr500_mach; |
38 | extern const MACH tomcat_mach; | |
39 | extern const MACH fr400_mach; | |
676a64f4 | 40 | extern const MACH fr450_mach; |
b34f6357 DB |
41 | extern const MACH simple_mach; |
42 | ||
43 | #ifndef WANT_CPU | |
44 | /* The ARGBUF struct. */ | |
45 | struct argbuf { | |
46 | /* These are the baseclass definitions. */ | |
47 | IADDR addr; | |
48 | const IDESC *idesc; | |
49 | char trace_p; | |
50 | char profile_p; | |
51 | /* ??? Temporary hack for skip insns. */ | |
52 | char skip_count; | |
53 | char unused; | |
54 | /* cpu specific data follows */ | |
55 | }; | |
56 | #endif | |
57 | ||
58 | #ifndef WANT_CPU | |
59 | /* A cached insn. | |
60 | ||
61 | ??? SCACHE used to contain more than just argbuf. We could delete the | |
62 | type entirely and always just use ARGBUF, but for future concerns and as | |
63 | a level of abstraction it is left in. */ | |
64 | ||
65 | struct scache { | |
66 | struct argbuf argbuf; | |
67 | }; | |
68 | #endif | |
69 | ||
70 | #endif /* FRV_CPUALL_H */ |