gem5/src/arch/power
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
..
insts POWER: Add support for the Power ISA 2009-10-27 09:24:39 -07:00
isa cpu: fix exec tracing memory corruption bug 2010-03-23 08:50:57 -07:00
linux Syscalls: Make system calls access arguments like a stack, not an array. 2009-10-30 00:44:55 -07:00
faults.hh Power ISA: Add an alignment fault to Power ISA and check alignment in TLB. 2010-02-12 19:53:19 +00:00
isa.hh POWER: Add support for the Power ISA 2009-10-27 09:24:39 -07:00
isa_traits.hh O3PCU: Split loads and stores that cross cache line boundaries. 2010-02-12 19:53:20 +00:00
locked_mem.hh POWER: Add support for the Power ISA 2009-10-27 09:24:39 -07:00
microcode_rom.hh POWER: Add support for the Power ISA 2009-10-27 09:24:39 -07:00
miscregs.hh POWER: Add support for the Power ISA 2009-10-27 09:24:39 -07:00
mmaped_ipr.hh POWER: Add support for the Power ISA 2009-10-27 09:24:39 -07:00
pagetable.cc POWER: Add support for the Power ISA 2009-10-27 09:24:39 -07:00
pagetable.hh POWER: Add support for the Power ISA 2009-10-27 09:24:39 -07:00
PowerTLB.py POWER: Add support for the Power ISA 2009-10-27 09:24:39 -07:00
predecoder.hh POWER: Add support for the Power ISA 2009-10-27 09:24:39 -07:00
process.cc Syscalls: Make system calls access arguments like a stack, not an array. 2009-10-30 00:44:55 -07:00
process.hh Syscalls: Make system calls access arguments like a stack, not an array. 2009-10-30 00:44:55 -07:00
registers.hh POWER: Add support for the Power ISA 2009-10-27 09:24:39 -07:00
remote_gdb.hh POWER: Add support for the Power ISA 2009-10-27 09:24:39 -07:00
SConscript POWER: Add support for the Power ISA 2009-10-27 09:24:39 -07:00
SConsopts POWER: Add support for the Power ISA 2009-10-27 09:24:39 -07:00
stacktrace.hh POWER: Add support for the Power ISA 2009-10-27 09:24:39 -07:00
tlb.cc Power ISA: Add an alignment fault to Power ISA and check alignment in TLB. 2010-02-12 19:53:19 +00:00
tlb.hh Power ISA: Add an alignment fault to Power ISA and check alignment in TLB. 2010-02-12 19:53:19 +00:00
types.hh POWER: Add support for the Power ISA 2009-10-27 09:24:39 -07:00
utility.hh POWER: Add support for the Power ISA 2009-10-27 09:24:39 -07:00
vtophys.hh POWER: Add support for the Power ISA 2009-10-27 09:24:39 -07:00