summaryrefslogtreecommitdiff
path: root/src/mem/cache/base_cache.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-10-09 19:35:53 -0400
committerGabe Black <gblack@eecs.umich.edu>2006-10-09 19:35:53 -0400
commit843888c489c3337a041098a94fc2105359a74a9a (patch)
tree226ed517a2173b9db2736f188990b0c8fe3f04ca /src/mem/cache/base_cache.cc
parenta23c6a719323f2ac74cadd3b04c84f3dc679c26e (diff)
parent9356bcda7b50ae8916eee2dfbad84ed3ea873c1e (diff)
downloadgem5-843888c489c3337a041098a94fc2105359a74a9a.tar.xz
Merge zizzer.eecs.umich.edu:/bk/newmem
into zeep.eecs.umich.edu:/home/gblack/m5/newmem_bus --HG-- extra : convert_revision : 2adde42edead2cedeeba60cc0d2697a2d58682be
Diffstat (limited to 'src/mem/cache/base_cache.cc')
-rw-r--r--src/mem/cache/base_cache.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mem/cache/base_cache.cc b/src/mem/cache/base_cache.cc
index b2c3a0439..c56f48eeb 100644
--- a/src/mem/cache/base_cache.cc
+++ b/src/mem/cache/base_cache.cc
@@ -216,7 +216,10 @@ BaseCache::CacheEvent::process()
}
//Response
//Know the packet to send
- pkt->result = Packet::Success;
+ if (pkt->flags & NACKED_LINE)
+ pkt->result = Packet::Nacked;
+ else
+ pkt->result = Packet::Success;
pkt->makeTimingResponse();
if (!cachePort->drainList.empty()) {
//Already blocked waiting for bus, just append