From 7e83aa92f2d986ba60f124287a9fd1e534fbbcf8 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 18 Apr 2015 04:08:56 -0400 Subject: 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. --- sim/sh/ChangeLog | 4 ++++ sim/sh/sim-main.h | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'sim/sh') diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog index 472597e..b776ad0d 100644 --- a/sim/sh/ChangeLog +++ b/sim/sh/ChangeLog @@ -1,3 +1,7 @@ +2015-04-18 Mike Frysinger + + * sim-main.h (sim_cia): Delete. + 2015-04-17 Mike Frysinger * sim-main.h (CIA_GET, CIA_SET): Delete. diff --git a/sim/sh/sim-main.h b/sim/sh/sim-main.h index 405f1cb..e2e17d7 100644 --- a/sim/sh/sim-main.h +++ b/sim/sh/sim-main.h @@ -21,8 +21,6 @@ along with this program. If not, see . */ #include "sim-basics.h" -typedef address_word sim_cia; - typedef struct _sim_cpu SIM_CPU; #include "sim-base.h" -- cgit v1.1