From 52d869367719b3280ff1ecf71f04da0ebca08015 Mon Sep 17 00:00:00 2001
From: Nilay Vaish <nilay@cs.wisc.edu>
Date: Thu, 18 Oct 2012 18:35:42 -0500
Subject: ruby: functional access updates to network test protocol I had
 forgotten to change the network test protocol while making changes to ruby
 for supporting functional accesses. This patch updates the protocol so that
 it can compile correctly.

---
 src/mem/protocol/Network_test-msg.sm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/mem/protocol/Network_test-msg.sm b/src/mem/protocol/Network_test-msg.sm
index 9e21d39bb..672a13db0 100644
--- a/src/mem/protocol/Network_test-msg.sm
+++ b/src/mem/protocol/Network_test-msg.sm
@@ -41,7 +41,11 @@ structure(RequestMsg, desc="...", interface="NetworkMessage") {
   DataBlock DataBlk,           desc="data for the cache line";
   MessageSizeType MessageSize, desc="size category of the message";
 
-  void functionalWrite(Packet *pkt) {
+  bool functionalRead(Packet *pkt) {
+    error("Network test does not support functional accesses!");
+  }
+
+  bool functionalWrite(Packet *pkt) {
     error("Network test does not support functional accesses!");
   }
 }
-- 
cgit v1.2.3