aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-base.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-24 16:41:55 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-24 19:52:13 -0500
commit3cabaf66d6ec7343bd3badc5c44c2ddd06221913 (patch)
tree10cde4cd72ab382a3f744b5b05da6d571cb55ac9 /sim/common/sim-base.h
parentb1af947345ccba81244d3370756d0047d3bc8b6e (diff)
downloadgdb-3cabaf66d6ec7343bd3badc5c44c2ddd06221913.zip
gdb-3cabaf66d6ec7343bd3badc5c44c2ddd06221913.tar.gz
gdb-3cabaf66d6ec7343bd3badc5c44c2ddd06221913.tar.bz2
sim: delete SIM_HAVE_FLATMEM support
No target has used this, and it's a cheap hack in place in using the common memory module. We want everyone using that though, so drop support for flatmem entirely.
Diffstat (limited to 'sim/common/sim-base.h')
-rw-r--r--sim/common/sim-base.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/sim/common/sim-base.h b/sim/common/sim-base.h
index 21f61f4..cfef6ec 100644
--- a/sim/common/sim-base.h
+++ b/sim/common/sim-base.h
@@ -202,16 +202,6 @@ typedef struct {
unsigned int scache_size;
#define STATE_SCACHE_SIZE(sd) ((sd)->base.scache_size)
- /* FIXME: Move to top level sim_state struct (as some struct)? */
-#ifdef SIM_HAVE_FLATMEM
- unsigned int mem_size;
-#define STATE_MEM_SIZE(sd) ((sd)->base.mem_size)
- unsigned int mem_base;
-#define STATE_MEM_BASE(sd) ((sd)->base.mem_base)
- unsigned char *memory;
-#define STATE_MEMORY(sd) ((sd)->base.memory)
-#endif
-
/* core memory bus */
#define STATE_CORE(sd) (&(sd)->base.core)
sim_core core;