From 61971b86bb897dc333fccffb7518056c83b99f45 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 3 Jan 2016 03:44:02 -0500 Subject: sim: clean up some more device detritus Clean up some more remains of WITH_DEVICES that escaped notice. We also clean up GETTWI/SETTWI defines in a few ports where they were copied & pasted and are unused as they happen to be near the device code. --- sim/iq2000/ChangeLog | 6 ++++++ sim/iq2000/Makefile.in | 2 +- sim/iq2000/iq2000-sim.h | 34 ---------------------------------- sim/iq2000/sim-main.h | 1 - 4 files changed, 7 insertions(+), 36 deletions(-) delete mode 100644 sim/iq2000/iq2000-sim.h (limited to 'sim/iq2000') diff --git a/sim/iq2000/ChangeLog b/sim/iq2000/ChangeLog index 9959f37..38d815a 100644 --- a/sim/iq2000/ChangeLog +++ b/sim/iq2000/ChangeLog @@ -1,5 +1,11 @@ 2016-01-03 Mike Frysinger + * iq2000-sim.h: Delete file. + * Makefile.in (SIM_EXTRA_DEPS): Delete iq2000-sim.h. + * sim-main.h: Delete iq2000-sim.h include. + +2016-01-03 Mike Frysinger + * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete. * configure: Regenerate. diff --git a/sim/iq2000/Makefile.in b/sim/iq2000/Makefile.in index 4892a80..d674adf 100644 --- a/sim/iq2000/Makefile.in +++ b/sim/iq2000/Makefile.in @@ -29,7 +29,7 @@ SIM_OBJS = \ # Extra headers included by sim-main.h. SIM_EXTRA_DEPS = \ $(CGEN_INCLUDE_DEPS) \ - arch.h cpuall.h iq2000-sim.h $(srcdir)/../../opcodes/iq2000-desc.h + arch.h cpuall.h $(srcdir)/../../opcodes/iq2000-desc.h SIM_EXTRA_CFLAGS = diff --git a/sim/iq2000/iq2000-sim.h b/sim/iq2000/iq2000-sim.h deleted file mode 100644 index 5ffffbd..0000000 --- a/sim/iq2000/iq2000-sim.h +++ /dev/null @@ -1,34 +0,0 @@ -/* collection of junk waiting time to sort out - Copyright (C) 1998-2016 Free Software Foundation, Inc. - Contributed by Cygnus Solutions. - -This file is part of the GNU Simulators. - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . */ - -#ifndef IQ2000_SIM_H -#define IQ2000_SIM_H - -#define GETTWI GETTSI -#define SETTWI SETTSI - - -/* Hardware/device support. -/* sim_core_attach device argument. */ -extern device iq2000_devices; - -/* FIXME: Temporary, until device support ready. */ -struct _device { int foo; }; - -#endif /* IQ2000_SIM_H */ diff --git a/sim/iq2000/sim-main.h b/sim/iq2000/sim-main.h index 810e4f4..829f9bb 100644 --- a/sim/iq2000/sim-main.h +++ b/sim/iq2000/sim-main.h @@ -25,7 +25,6 @@ #include "sim-base.h" #include "cgen-sim.h" -#include "iq2000-sim.h" /* The _sim_cpu struct. */ -- cgit v1.1