summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2010-03-21 21:22:20 -0700
committerBrad Beckmann <Brad.Beckmann@amd.com>2010-03-21 21:22:20 -0700
commit378fbce911c8e5bcabaa0ab2506de8967a4ad56d (patch)
tree1079e98fe9fedc07832ca00e699dce8f61ef1be3
parent4ee3b0da452139289d7334816b4fc082e3ac4a3b (diff)
downloadgem5-378fbce911c8e5bcabaa0ab2506de8967a4ad56d.tar.xz
ruby: Fixed small data msg bug in MOESI_hammer-dir
-rw-r--r--src/mem/protocol/MOESI_hammer-dir.sm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/protocol/MOESI_hammer-dir.sm b/src/mem/protocol/MOESI_hammer-dir.sm
index 3cbeb8431..95a1010ac 100644
--- a/src/mem/protocol/MOESI_hammer-dir.sm
+++ b/src/mem/protocol/MOESI_hammer-dir.sm
@@ -220,7 +220,8 @@ machine(Directory, "AMD Hammer-like protocol")
trigger(Event:Shared_Ack, in_msg.Address);
} else if (in_msg.Type == CoherenceResponseType:DATA_SHARED) {
trigger(Event:Shared_Data, in_msg.Address);
- } else if (in_msg.Type == CoherenceResponseType:DATA_EXCLUSIVE) {
+ } else if (in_msg.Type == CoherenceResponseType:DATA_EXCLUSIVE ||
+ in_msg.Type == CoherenceResponseType:DATA) {
trigger(Event:Exclusive_Data, in_msg.Address);
} else {
error("Unexpected message");