From 20bca71d82598a015de0991196e45f0b5f7ead81 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 18 Apr 2015 04:19:56 -0400 Subject: sim: unify SIM_CPU definition Since every target typedefs this the same way, move it to the common code. We have to leave Blackfin behind here for now because of inter-dependencies on types and headers: sim-base.h includes sim-model.h which needs types in machs.h which needs types in bfim-sim.h which needs SIM_CPU. --- sim/frv/ChangeLog | 4 ++++ sim/frv/sim-main.h | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'sim/frv') diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog index 750695f..c3562e8 100644 --- a/sim/frv/ChangeLog +++ b/sim/frv/ChangeLog @@ -1,5 +1,9 @@ 2015-04-18 Mike Frysinger + * sim-main.h (_sim_cpu, SIM_CPU): Delete. + +2015-04-18 Mike Frysinger + * sim-main.h (sim_cia): Delete. (frv_sim_engine_halt_hook): Move below includes. diff --git a/sim/frv/sim-main.h b/sim/frv/sim-main.h index fd12c4f..077a47d 100644 --- a/sim/frv/sim-main.h +++ b/sim/frv/sim-main.h @@ -21,9 +21,6 @@ along with this program. If not, see . */ #define USING_SIM_BASE_H /* FIXME: quick hack */ -struct _sim_cpu; /* FIXME: should be in sim-basics.h */ -typedef struct _sim_cpu SIM_CPU; - /* Set the mask of unsupported traces. */ #define WITH_TRACE \ (~(TRACE_alu | TRACE_decode | TRACE_memory | TRACE_model | TRACE_fpu \ -- cgit v1.1