projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ee3b0d
)
ruby: Fixed small data msg bug in MOESI_hammer-dir
author
Brad Beckmann
<Brad.Beckmann@amd.com>
Mon, 22 Mar 2010 04:22:20 +0000
(21:22 -0700)
committer
Brad Beckmann
<Brad.Beckmann@amd.com>
Mon, 22 Mar 2010 04:22:20 +0000
(21:22 -0700)
src/mem/protocol/MOESI_hammer-dir.sm
patch
|
blob
|
history
diff --git
a/src/mem/protocol/MOESI_hammer-dir.sm
b/src/mem/protocol/MOESI_hammer-dir.sm
index 3cbeb84315c3dda88d8226fdbf4b44a67bdeea72..95a1010accc6c5aedcaf548b8aed968d31b24bc7 100644
(file)
--- 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");