gem5/src/arch
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
..
alpha cpu: fix exec tracing memory corruption bug 2010-03-23 08:50:57 -07:00
arm cpu: fix exec tracing memory corruption bug 2010-03-23 08:50:57 -07:00
mips cpu: fix exec tracing memory corruption bug 2010-03-23 08:50:57 -07:00
power cpu: fix exec tracing memory corruption bug 2010-03-23 08:50:57 -07:00
sparc O3PCU: Split loads and stores that cross cache line boundaries. 2010-02-12 19:53:20 +00:00
x86 O3PCU: Split loads and stores that cross cache line boundaries. 2010-02-12 19:53:20 +00:00
isa_parser.py isa_parser: move the operand map stuff into the ISAParser class. 2010-02-26 18:14:48 -08:00
micro_asm.py scons: add slicc and ply to sys.path and PYTHONPATH so everyone has access 2009-09-22 15:24:16 -07:00
micro_asm_test.py Add a second section to make sure the ROM is extended properly. 2007-05-31 22:21:21 +00:00
SConscript scons: import ply to work around scons sys.path weirdness 2010-03-10 15:39:34 -08:00