mem: Add predecessor to SenderState base class
authorAndreas Hansson <andreas.hansson@arm.com>
Tue, 19 Feb 2013 10:56:05 +0000 (05:56 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Tue, 19 Feb 2013 10:56:05 +0000 (05:56 -0500)
commit0622f30961fc32b967bb1ef784afc5a205b16f6e
treeb6b57cf049b7fc7e49cc65a735af7508862b9c24
parentf69d431ede9b815ea4b63a2d20237ed3e79df169
mem: Add predecessor to SenderState base class

This patch adds a predecessor field to the SenderState base class to
make the process of linking them up more uniform, and enable a
traversal of the stack without knowing the specific type of the
subclasses.

There are a number of simplifications done as part of changing the
SenderState, particularly in the RubyTest.
17 files changed:
src/arch/x86/pagetable_walker.cc
src/arch/x86/pagetable_walker.hh
src/cpu/testers/rubytest/Check.cc
src/cpu/testers/rubytest/RubyTester.cc
src/cpu/testers/rubytest/RubyTester.hh
src/mem/addr_mapper.cc
src/mem/addr_mapper.hh
src/mem/bridge.cc
src/mem/bridge.hh
src/mem/cache/cache_impl.hh
src/mem/comm_monitor.cc
src/mem/comm_monitor.hh
src/mem/packet.cc
src/mem/packet.hh
src/mem/ruby/system/RubyPort.cc
src/mem/ruby/system/RubyPort.hh
src/mem/ruby/system/Sequencer.cc