gem5/src/arch/mips/isa
Steve Reinhardt 4d77ea7a57 cpu: fix exec tracing memory corruption bug
Accessing traceData (to call setAddress() and/or setData())
after initiating a timing translation was causing crashes,
since a failed translation could delete the traceData
object before returning.

It turns out that there was never a need to access traceData
after initiating the translation, as the traced data was
always available earlier; this ordering was merely
historical.  Furthermore, traceData->setAddress() and
traceData->setData() were being called both from the CPU
model and the ISA definition, often redundantly.

This patch standardizes all setAddress and setData calls
for memory instructions to be in the CPU models and not
in the ISA definition.  It also moves those calls above
the translation calls to eliminate the crashes.
2010-03-23 08:50:57 -07:00
..
formats cpu: fix exec tracing memory corruption bug 2010-03-23 08:50:57 -07:00
base.isa add back in clobbered MIPS fix for g++ 4.2 2007-11-17 00:02:56 -05:00
bitfields.isa go back and fix up MIPS copyright headers 2007-11-16 21:32:22 -05:00
decoder.isa MIPS: Implement the SE mode version of rdhwr. 2009-12-31 15:30:51 -05:00
includes.isa MIPS: Fold the MiscRegFile all the way into the ISA object. 2009-07-09 20:28:39 -07:00
main.isa go back and fix up MIPS copyright headers 2007-11-16 21:32:22 -05:00
operands.isa MIPS: Create an artificial control register to hold the thread pointer. 2009-12-31 15:30:50 -05:00