aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/.Sanitize
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>1998-05-18 15:55:05 +0000
committerFrank Ch. Eigler <fche@redhat.com>1998-05-18 15:55:05 +0000
commit3fa454e95fe104add1b25e53a8dc1decc1c270f1 (patch)
tree9bb506f391e5eaece890333cda94a9a3f2e219af /sim/mips/.Sanitize
parentd9c2c0c569da93bb393a078ebadbb89c1b6cca3b (diff)
downloadgdb-3fa454e95fe104add1b25e53a8dc1decc1c270f1.zip
gdb-3fa454e95fe104add1b25e53a8dc1decc1c270f1.tar.gz
gdb-3fa454e95fe104add1b25e53a8dc1decc1c270f1.tar.bz2
* Monster patch - may destablize MIPS sims for a little while.
* Followup patch for SCEI PR 15853 * First check-in of TX3904 interrupt controller devices for ECC. [sanitized] * First implementation of MIPS hardware interrupt emulation. Mon May 18 18:22:42 1998 Frank Ch. Eigler <fche@cygnus.com> * configure.in (SIM_AC_OPTION_HARDWARE): Added common hardware modules. Recognize TX39 target with "mips*tx39" pattern. * configure: Rebuilt. * sim-main.h (*): Added many macros defining bits in TX39 control registers. (SignalInterrupt): Send actual PC instead of NULL. (SignalNMIReset): New exception type. * interp.c (board): New variable for future use to identify a particular board being simulated. (mips_option_handler,mips_options): Added "--board" option. (interrupt_event): Send actual PC. (sim_open): Make memory layout conditional on board setting. (signal_exception): Initial implementation of hardware interrupt handling. Accept another break instruction variant for simulator exit. (decode_coproc): Implement RFE instruction for TX39. (mips.igen): Decode RFE instruction as such. start-sanitize-tx3904 * configure.in (tx3904cpu,tx3904irc): Added devices for tx3904. * interp.c: Define "jmr3904" and "jmr3904debug" board types and bbegin to implement memory map. * dv-tx3904cpu.c: New file. * dv-tx3904irc.c: New file. end-sanitize-tx3904
Diffstat (limited to 'sim/mips/.Sanitize')
-rw-r--r--sim/mips/.Sanitize37
1 files changed, 37 insertions, 0 deletions
diff --git a/sim/mips/.Sanitize b/sim/mips/.Sanitize
index 46f01be..135288d 100644
--- a/sim/mips/.Sanitize
+++ b/sim/mips/.Sanitize
@@ -31,6 +31,13 @@ else
lose_these_too="${vr4320_files} ${lose_these_too}"
fi
+tx3904_files="dv-tx3904cpu.c dv-tx3904irc.c"
+if ( echo $* | grep keep\-tx3904 > /dev/null ) ; then
+ keep_these_too="${tx3904_files} ${keep_these_too}"
+else
+ lose_these_too="${tx3904_files} ${lose_these_too}"
+fi
+
sky_files="ChangeLog.sky sky-device.c sky-device.h sky-dma.c sky-dma.h sky-bits.h"
sky_files="$sky_files sky-engine.c sky-gpuif.c sky-gpuif.h"
sky_files="$sky_files sky-gs.c sky-gs.h"
@@ -264,6 +271,36 @@ else
fi
+tx3904_files="ChangeLog configure configure.in interp.c"
+
+if ( echo $* | grep keep\-tx3904 > /dev/null ) ; then
+ for i in $tx3904_files ; do
+ if test ! -d $i && (grep sanitize-tx3904 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping tx3904 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-tx3904 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"tx3904\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-tx3904/,/end-\sanitize\-tx3904/d' < $i > new
+ if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+ if [ -n "${verbose}" ] ; then
+ echo Caching $i in .Recover...
+ fi
+ mv $i .Recover
+ fi
+ mv new $i
+ fi
+ done
+fi
+
+
never_files="ChangeLog configure configure.in interp.c gencode.c mips.igen mips.dc"