diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-04-18 04:08:56 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-04-18 04:14:38 -0400 |
commit | 7e83aa92f2d986ba60f124287a9fd1e534fbbcf8 (patch) | |
tree | 910cafbc984799297c2e8b0dc1cfe86dcf13f9c1 /sim/frv/sim-main.h | |
parent | b9a7202de81202af1337d2cef22db5e3b5bca665 (diff) | |
download | binutils-7e83aa92f2d986ba60f124287a9fd1e534fbbcf8.zip binutils-7e83aa92f2d986ba60f124287a9fd1e534fbbcf8.tar.gz binutils-7e83aa92f2d986ba60f124287a9fd1e534fbbcf8.tar.bz2 |
sim: unify sim_cia definition
Almost every target defines sim_cia the same way -- either using the
address_word type directly, or a type of equivalent size. The only
odd one out is sh64 (who has 32bit address_word and 64bit cia), and
even that case doesn't seem to make sense. We'll put off clean up
though of sh64 and at least set up a sensible default for everyone.
Diffstat (limited to 'sim/frv/sim-main.h')
-rw-r--r-- | sim/frv/sim-main.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sim/frv/sim-main.h b/sim/frv/sim-main.h index 275ac28..fd12c4f 100644 --- a/sim/frv/sim-main.h +++ b/sim/frv/sim-main.h @@ -40,10 +40,6 @@ typedef struct _sim_cpu SIM_CPU; #include "frv-opc.h" #include "arch.h" -/* These must be defined before sim-base.h. */ -typedef USI sim_cia; - -void frv_sim_engine_halt_hook (SIM_DESC, SIM_CPU *, sim_cia); #define SIM_ENGINE_HALT_HOOK(SD, LAST_CPU, CIA) \ frv_sim_engine_halt_hook ((SD), (LAST_CPU), (CIA)) @@ -55,6 +51,8 @@ void frv_sim_engine_halt_hook (SIM_DESC, SIM_CPU *, sim_cia); #include "cache.h" #include "registers.h" #include "profile.h" + +void frv_sim_engine_halt_hook (SIM_DESC, SIM_CPU *, sim_cia); /* The _sim_cpu struct. */ |