aboutsummaryrefslogtreecommitdiff
path: root/sim/common/cgen-scache.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-13 22:45:02 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-30 12:41:53 -0400
commit6cf75d895ad992f4f99f94bdcf469afe0482f8fa (patch)
tree8cc4f4b265de34da729bf2c46e8b1783d4cfd41a /sim/common/cgen-scache.h
parent953fac6481598d64087f45030f243374ba599099 (diff)
downloadgdb-6cf75d895ad992f4f99f94bdcf469afe0482f8fa.zip
gdb-6cf75d895ad992f4f99f94bdcf469afe0482f8fa.tar.gz
gdb-6cf75d895ad992f4f99f94bdcf469afe0482f8fa.tar.bz2
sim: move scache init to dynamic modules.c
Use the new modules.c framework to find & initialize this module.
Diffstat (limited to 'sim/common/cgen-scache.h')
-rw-r--r--sim/common/cgen-scache.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sim/common/cgen-scache.h b/sim/common/cgen-scache.h
index b197922..b435281 100644
--- a/sim/common/cgen-scache.h
+++ b/sim/common/cgen-scache.h
@@ -109,9 +109,6 @@ typedef struct cpu_scache {
/* Non-zero if cache is in use. */
#define USING_SCACHE_P(sd) (STATE_SCACHE_SIZE (sd) > 0)
-/* Install the simulator cache into the simulator. */
-MODULE_INSTALL_FN scache_install;
-
/* Lookup a PC value in the scache [compilation only]. */
extern SCACHE * scache_lookup (SIM_CPU *, IADDR);
/* Return a pointer to at least N buffers. */