summaryrefslogtreecommitdiff
path: root/sim/avr
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-04-18 04:08:56 -0400
committerMike Frysinger <vapier@gentoo.org>2015-04-18 04:14:38 -0400
commit7e83aa92f2d986ba60f124287a9fd1e534fbbcf8 (patch)
tree910cafbc984799297c2e8b0dc1cfe86dcf13f9c1 /sim/avr
parentb9a7202de81202af1337d2cef22db5e3b5bca665 (diff)
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/avr')
-rw-r--r--sim/avr/ChangeLog4
-rw-r--r--sim/avr/sim-main.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog
index 81bab3b7ab..9b4ca2aecb 100644
--- a/sim/avr/ChangeLog
+++ b/sim/avr/ChangeLog
@@ -1,3 +1,7 @@
+2015-04-18 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-main.h (sim_cia): Delete.
+
2015-04-17 Mike Frysinger <vapier@gentoo.org>
* sim-main.h (CIA_GET, CIA_SET): Delete.
diff --git a/sim/avr/sim-main.h b/sim/avr/sim-main.h
index 6b49b8d43e..52904e385e 100644
--- a/sim/avr/sim-main.h
+++ b/sim/avr/sim-main.h
@@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-basics.h"
-typedef address_word sim_cia;
extern unsigned int pc;
typedef struct _sim_cpu SIM_CPU;