]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/mn10300/sim-main.h
Update copyright year range in header of all files managed by GDB
[thirdparty/binutils-gdb.git] / sim / mn10300 / sim-main.h
CommitLineData
c906108c
SS
1/* This file is part of the program psim.
2
3 Copyright (C) 1994-1997, Andrew Cagney <cagney@highland.com.au>
1d506c26 4 Copyright (C) 1997-2024 Free Software Foundation, Inc.
c906108c
SS
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
4744ac1b 8 the Free Software Foundation; either version 3 of the License, or
c906108c
SS
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
4744ac1b 15
c906108c 16 You should have received a copy of the GNU General Public License
4744ac1b 17 along with this program. If not, see <http://www.gnu.org/licenses/>.
c906108c
SS
18
19 */
20
21
22#ifndef SIM_MAIN_H
23#define SIM_MAIN_H
24
dc3de083 25#define SIM_ENGINE_HALT_HOOK(SD,LAST_CPU,CIA) /* disable this hook */
c906108c
SS
26
27#include "sim-basics.h"
c906108c 28
c906108c
SS
29#define SIM_CORE_SIGNAL(SD,CPU,CIA,MAP,NR_BYTES,ADDR,TRANSFER,ERROR) \
30mn10300_core_signal ((SD), (CPU), (CIA), (MAP), (NR_BYTES), (ADDR), (TRANSFER), (ERROR))
31
c906108c
SS
32#include "sim-base.h"
33
627bdb63
MF
34/**
35 * TODO: Move these includes to the igen files that need them.
36 * This requires extending the igen syntax to support header includes.
c064fab2
MW
37 *
38 * For now only include them in the igen generated support.c,
39 * semantics.c, idecode.c and engine.c files.
627bdb63 40 */
c064fab2
MW
41#if defined(SUPPORT_C) \
42 || defined(SEMANTICS_C) \
43 || defined(IDECODE_C) \
44 || defined(ENGINE_C)
627bdb63
MF
45#include "sim-fpu.h"
46#include "sim-signal.h"
c906108c 47
627bdb63 48#include "mn10300-sim.h"
c064fab2 49#endif
c906108c 50
d137b254 51extern SIM_CORE_SIGNAL_FN mn10300_core_signal ATTRIBUTE_NORETURN;
c906108c
SS
52
53#endif