summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2012-10-18 18:35:42 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2012-10-18 18:35:42 -0500
commit52d869367719b3280ff1ecf71f04da0ebca08015 (patch)
tree5909302ae3f5e2d3287c4e163847278cd29afaa6
parentde3b3ed1403c7ff5be49951bfc32abfea42af6ec (diff)
downloadgem5-52d869367719b3280ff1ecf71f04da0ebca08015.tar.xz
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.
-rw-r--r--src/mem/protocol/Network_test-msg.sm6
1 files changed, 5 insertions, 1 deletions
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!");
}
}