From: Nilay Vaish Date: Thu, 18 Oct 2012 23:35:42 +0000 (-0500) Subject: ruby: functional access updates to network test protocol X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=52d869367719b3280ff1ecf71f04da0ebca08015;p=gem5.git 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. --- 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!"); } }