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/bfin/ChangeLog | 4 ++++ sim/bfin/sim-main.h | 2 ++ 2 files changed, 6 insertions(+) (limited to 'sim/bfin') diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index 036db16..64d20c3 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,5 +1,9 @@ 2015-04-18 Mike Frysinger + * sim-main.h (SIM_CPU): Add note to clean this up. + +2015-04-18 Mike Frysinger + * sim-main.h (sim_cia): Delete. 2015-04-17 Mike Frysinger diff --git a/sim/bfin/sim-main.h b/sim/bfin/sim-main.h index 1fbfa08..a3e4230 100644 --- a/sim/bfin/sim-main.h +++ b/sim/bfin/sim-main.h @@ -24,6 +24,8 @@ #include "sim-basics.h" #include "sim-signal.h" +/* TODO: Delete this. Need to convert bu32/etc... to common sim types + and unwind the bfin-sim.h/machs.h include below first though. */ typedef struct _sim_cpu SIM_CPU; #include "bfin-sim.h" -- cgit v1.1