From: Brad Beckmann Date: Mon, 22 Mar 2010 04:22:20 +0000 (-0700) Subject: ruby: Fixed small data msg bug in MOESI_hammer-dir X-Git-Tag: stable_2012_02_02~1465 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=378fbce911c8e5bcabaa0ab2506de8967a4ad56d;p=gem5.git ruby: Fixed small data msg bug in MOESI_hammer-dir --- 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");