aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-11-15 15:57:10 -0800
committerMike Frysinger <vapier@gentoo.org>2015-11-15 21:48:06 -0500
commit761e171ad834a0d0adcd8712fde85ab1325afc3a (patch)
treed6f6c1b2d0151d271464c75902aa4b6f1e8f8649 /include
parent267b3b8e068f5043419991175bdbc56eb7a575be (diff)
downloadgdb-761e171ad834a0d0adcd8712fde85ab1325afc3a.zip
gdb-761e171ad834a0d0adcd8712fde85ab1325afc3a.tar.gz
gdb-761e171ad834a0d0adcd8712fde85ab1325afc3a.tar.bz2
sim: cr16: convert to common sim memory modules
The cr16 port has a lot of translation/offset logic baked into it, but it all looks like copy & paste from the d10v port rather than something the cr16 port wants.
Diffstat (limited to 'include')
-rw-r--r--include/gdb/ChangeLog6
-rw-r--r--include/gdb/sim-cr16.h9
2 files changed, 6 insertions, 9 deletions
diff --git a/include/gdb/ChangeLog b/include/gdb/ChangeLog
index eae0cf1..67f430f 100644
--- a/include/gdb/ChangeLog
+++ b/include/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2015-11-15 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-cr16.h (SIM_CR16_MEMORY_UNIFIED, SIM_CR16_MEMORY_INSN,
+ SIM_CR16_MEMORY_DATA, SIM_CR16_MEMORY_DMAP, SIM_CR16_MEMORY_IMAP):
+ Delete.
+
2015-11-14 Mike Frysinger <vapier@gentoo.org>
* sim-arm.h: Delete __cplusplus checks and extern "C" linkage.
diff --git a/include/gdb/sim-cr16.h b/include/gdb/sim-cr16.h
index 2f41303..a008977 100644
--- a/include/gdb/sim-cr16.h
+++ b/include/gdb/sim-cr16.h
@@ -20,15 +20,6 @@
#if !defined (SIM_CR16_H)
#define SIM_CR16_H
-enum
- {
- SIM_CR16_MEMORY_UNIFIED = 0x00000000,
- SIM_CR16_MEMORY_INSN = 0x10000000,
- SIM_CR16_MEMORY_DATA = 0x10000000,
- SIM_CR16_MEMORY_DMAP = 0x10000000,
- SIM_CR16_MEMORY_IMAP = 0x10000000
- };
-
/* The simulator makes use of the following register information. */
enum sim_cr16_regs