projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1b5a63
)
protocol: fixed MOESI_CMP_directory bug
author
Derek Hower
<drh5@cs.wisc.edu>
Thu, 6 Aug 2009 06:15:55 +0000
(
01:15
-0500)
committer
Derek Hower
<drh5@cs.wisc.edu>
Thu, 6 Aug 2009 06:15:55 +0000
(
01:15
-0500)
src/mem/protocol/MOESI_CMP_directory-dma.sm
patch
|
blob
|
history
diff --git
a/src/mem/protocol/MOESI_CMP_directory-dma.sm
b/src/mem/protocol/MOESI_CMP_directory-dma.sm
index 74246c7303dd329b3212b8ba9e1ca5a995e421e7..da10695d052db602e5ddf9e6cb25a3b842816383 100644
(file)
--- 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);