]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/frv/cpuall.h
sim: unify -Werror build settings
[thirdparty/binutils-gdb.git] / sim / frv / cpuall.h
CommitLineData
b34f6357
DB
1/* Simulator CPU header for frv.
2
3THIS FILE IS MACHINE GENERATED WITH CGEN.
4
3666a048 5Copyright 1996-2021 Free Software Foundation, Inc.
b34f6357
DB
6
7This 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
8a0ebee6
MF
35extern const SIM_MACH frv_mach;
36extern const SIM_MACH fr550_mach;
37extern const SIM_MACH fr500_mach;
38extern const SIM_MACH tomcat_mach;
39extern const SIM_MACH fr400_mach;
40extern const SIM_MACH fr450_mach;
41extern const SIM_MACH simple_mach;
b34f6357
DB
42
43#ifndef WANT_CPU
44/* The ARGBUF struct. */
45struct 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
65struct scache {
66 struct argbuf argbuf;
67};
68#endif
69
70#endif /* FRV_CPUALL_H */