O3,ARM: fix some problems with drain/switchout functionality and add Drain DPRINTFs
authorAnthony Gutierrez <atgutier@umich.edu>
Wed, 15 Aug 2012 14:38:08 +0000 (10:38 -0400)
committerAnthony Gutierrez <atgutier@umich.edu>
Wed, 15 Aug 2012 14:38:08 +0000 (10:38 -0400)
commit0b3897fc90901953e9d016466c37ab507f85023c
tree0e8b1fec8d7c4871686903d573e9fd0fd8734d1e
parent5a648f2074caad8aee97e03f27e8eecc527a2cba
O3,ARM: fix some problems with drain/switchout functionality and add Drain DPRINTFs

This patch fixes some problems with the drain/switchout functionality
for the O3 cpu and for the ARM ISA and adds some useful debug print
statements.

This is an incremental fix as there are still a few bugs/mem leaks with the
switchout code. Particularly when switching from an O3CPU to a
TimingSimpleCPU. However, when switching from O3 to O3 cores with the ARM ISA
I haven't encountered any more assertion failures; now the kernel will
typically panic inside of simulation.
18 files changed:
src/arch/arm/table_walker.cc
src/arch/arm/table_walker.hh
src/cpu/base.cc
src/cpu/o3/commit_impl.hh
src/cpu/o3/cpu.cc
src/cpu/o3/fetch_impl.hh
src/cpu/o3/lsq_unit.hh
src/cpu/simple/timing.cc
src/dev/copy_engine.cc
src/dev/dma_device.cc
src/dev/i8254xGBe.cc
src/mem/bus.cc
src/mem/cache/base.cc
src/mem/packet_queue.cc
src/mem/port.cc
src/mem/port.hh
src/mem/ruby/system/RubyPort.cc
src/sim/SConscript