From f5e0c56da24ad1b6ee51592d19a9babb7b59da05 Mon Sep 17 00:00:00 2001 From: Derek Hower Date: Thu, 6 Aug 2009 01:15:55 -0500 Subject: [PATCH] protocol: fixed MOESI_CMP_directory bug --- src/mem/protocol/MOESI_CMP_directory-dma.sm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mem/protocol/MOESI_CMP_directory-dma.sm b/src/mem/protocol/MOESI_CMP_directory-dma.sm index 74246c730..da10695d0 100644 --- a/src/mem/protocol/MOESI_CMP_directory-dma.sm +++ b/src/mem/protocol/MOESI_CMP_directory-dma.sm @@ -98,7 +98,8 @@ machine(DMA, "DMA Controller") peek( dmaResponseQueue_in, ResponseMsg) { if (in_msg.Type == CoherenceResponseType:DMA_ACK) { trigger(Event:DMA_Ack, 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:Data, in_msg.Address); } else if (in_msg.Type == CoherenceResponseType:ACK) { trigger(Event:Inv_Ack, in_msg.Address); -- 2.30.2