summaryrefslogtreecommitdiff
path: root/src/mem/ruby/slicc_interface/AbstractController.hh
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2014-11-06 05:42:20 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2014-11-06 05:42:20 -0600
commit68ddfab8a4fa6f56c5f8bff6d91facd39abe353b (patch)
tree96c1f7ec85bedc69a97d9b22b9229ea7ccbb40de /src/mem/ruby/slicc_interface/AbstractController.hh
parentd25b722e4a9500f2d4b2ca937900bf093242ddfa (diff)
downloadgem5-68ddfab8a4fa6f56c5f8bff6d91facd39abe353b.tar.xz
ruby: remove the function functionalReadBuffers()
This function was added when I had incorrectly arrived at the conclusion that such a function can improve the chances of a functional read succeeding. As was later realized, this is not possible in the current setup. While the code using this function was dropped long back, this function was not. Hence the patch.
Diffstat (limited to 'src/mem/ruby/slicc_interface/AbstractController.hh')
-rw-r--r--src/mem/ruby/slicc_interface/AbstractController.hh7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mem/ruby/slicc_interface/AbstractController.hh b/src/mem/ruby/slicc_interface/AbstractController.hh
index f30967e48..98fce574f 100644
--- a/src/mem/ruby/slicc_interface/AbstractController.hh
+++ b/src/mem/ruby/slicc_interface/AbstractController.hh
@@ -76,11 +76,8 @@ class AbstractController : public ClockedObject, public Consumer
virtual void recordCacheTrace(int cntrl, CacheRecorder* tr) = 0;
virtual Sequencer* getSequencer() const = 0;
- //! These functions are used by ruby system to read/write the message
- //! queues that exist with in the controller.
- //! The boolean return value indicates if the read was performed
- //! successfully.
- virtual bool functionalReadBuffers(PacketPtr&) = 0;
+ //! These functions are used by ruby system to read/write the data blocks
+ //! that exist with in the controller.
virtual void functionalRead(const Address &addr, PacketPtr) = 0;
//! The return value indicates the number of messages written with the
//! data from the packet.