diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-05-02 05:31:34 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-05-02 05:31:34 +0000 |
commit | d9b75947387d9868a041a3472649754f68f62358 (patch) | |
tree | 9166f3649c75b57fb94c1d81854a7613cdc9aa9d /sim/tic80/sim-main.h | |
parent | 2317a49939905f8aeb16b62ee6bd5e1f661f1357 (diff) | |
download | fsf-binutils-gdb-d9b75947387d9868a041a3472649754f68f62358.zip fsf-binutils-gdb-d9b75947387d9868a041a3472649754f68f62358.tar.gz fsf-binutils-gdb-d9b75947387d9868a041a3472649754f68f62358.tar.bz2 |
o Add core and event objects into simulator
base type
o Add preliminary tracing support for same
o trace_printf() takes both SD and CPU arguments
o Add CIA to standard set of parameters for
generated functions.
o Pacify GCC
Diffstat (limited to 'sim/tic80/sim-main.h')
-rw-r--r-- | sim/tic80/sim-main.h | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/sim/tic80/sim-main.h b/sim/tic80/sim-main.h index a01ad42..fc78cb3 100644 --- a/sim/tic80/sim-main.h +++ b/sim/tic80/sim-main.h @@ -24,32 +24,26 @@ #define _SIM_MAIN_H_ #include "sim-basics.h" -#include "sim-inline.h" -#include "sim-types.h" -#include "sim-bits.h" -#include "sim-endian.h" + +#include <signal.h> /* These are generated files. */ #include "itable.h" #include "idecode.h" #include "idecode.h" +typedef instruction_address sim_cia; +static const sim_cia null_cia = {0}; /* Dummy */ +#define NULL_CIA null_cia + +#include "sim-base.h" + #include "cpu.h" #include "alu.h" -#include "sim-core.h" -#include "sim-events.h" -#include "sim-io.h" - struct sim_state { - /* real time */ - sim_events events; - - /* memory and IO */ - sim_core core; - /* escape route for inner functions */ int halt_ok; jmp_buf path_to_halt; |