aboutsummaryrefslogtreecommitdiff
path: root/sim/frv/frv-sim.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-25 13:19:07 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-25 13:22:53 -0500
commit2023145711ca36f06258e07f4fa1c490efbbf37e (patch)
tree262a8d1db3eb64851e26813b1ebb0d06b9d69a5d /sim/frv/frv-sim.h
parent9c0c156bb7ddca2d3fce7bea96631715f8c67390 (diff)
downloadgdb-2023145711ca36f06258e07f4fa1c490efbbf37e.zip
gdb-2023145711ca36f06258e07f4fa1c490efbbf37e.tar.gz
gdb-2023145711ca36f06258e07f4fa1c490efbbf37e.tar.bz2
sim: frv: punt WITH_DEVICE support
The frv port used the device logic to support a single cache address, and the comments around that are "these were merely copied from a diff port and are unused", plus the code to attach the memory is "#if 0". Just punt it all.
Diffstat (limited to 'sim/frv/frv-sim.h')
-rw-r--r--sim/frv/frv-sim.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/sim/frv/frv-sim.h b/sim/frv/frv-sim.h
index 6ed2823..c692008 100644
--- a/sim/frv/frv-sim.h
+++ b/sim/frv/frv-sim.h
@@ -122,24 +122,6 @@ extern void frvbf_force_update (SIM_CPU *);
/* Hardware/device support.
??? Will eventually want to move device stuff to config files. */
-/* Support for the MCCR register (Cache Control Register) is needed in order
- for overlays to work correctly with the scache: cached instructions need
- to be flushed when the instruction space is changed at runtime. */
-
-/* These were just copied from another port and are necessary to build, but
- but don't appear to be used. */
-#define MCCR_ADDR 0xffffffff
-#define MCCR_CP 0x80
-/* not supported */
-#define MCCR_CM0 2
-#define MCCR_CM1 1
-
-/* sim_core_attach device argument. */
-extern device frv_devices;
-
-/* FIXME: Temporary, until device support ready. */
-struct _device { int foo; };
-
/* maintain the address of the start of the previous VLIW insn sequence. */
extern IADDR previous_vliw_pc;
extern CGEN_ATTR_VALUE_ENUM_TYPE frv_current_fm_slot;