ruby: make DMASequencer inherit from RubyPort
authorMichael LeBeane <Michael.Lebeane@amd.com>
Mon, 15 Feb 2016 01:28:48 +0000 (20:28 -0500)
committerMichael LeBeane <Michael.Lebeane@amd.com>
Mon, 15 Feb 2016 01:28:48 +0000 (20:28 -0500)
commitb181cea3645929d11b21a29ac8c3e3ed3079e91b
treeeb0025357f0e3847c9633e4bf1b193f2937b3a5b
parent2ae4cce3934873908afacc81b65d4093731a3e93
ruby: make DMASequencer inherit from RubyPort

This patch essentially rolls back 10518:30e3715c9405 to make RubyPort the
parent class of DMASequencer.  It removes redundant code and restores some
features which were lost when directly inheriting from MemObject.  For
example,
DMASequencer can now communicate to other devices using PIO, which is useful
for memmory-mapped communication between multiple DMADevices.
src/mem/ruby/system/DMASequencer.cc
src/mem/ruby/system/DMASequencer.hh
src/mem/ruby/system/Sequencer.py