From d9b75947387d9868a041a3472649754f68f62358 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 2 May 1997 05:31:34 +0000 Subject: 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 --- sim/tic80/sim-main.h | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) (limited to 'sim/tic80/sim-main.h') 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 /* 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; -- cgit v1.1