diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-04-18 04:19:56 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-04-18 04:31:36 -0400 |
commit | 20bca71d82598a015de0991196e45f0b5f7ead81 (patch) | |
tree | 430360c5efe05979bc42a916dd483aae35c30eb6 /sim/bfin/sim-main.h | |
parent | 7e83aa92f2d986ba60f124287a9fd1e534fbbcf8 (diff) | |
download | binutils-gdb-20bca71d82598a015de0991196e45f0b5f7ead81.tar.gz |
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.
Diffstat (limited to 'sim/bfin/sim-main.h')
-rw-r--r-- | sim/bfin/sim-main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/bfin/sim-main.h b/sim/bfin/sim-main.h index 1fbfa08a991..a3e4230b0ea 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" |