diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-05-14 16:14:59 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-05-14 16:14:59 -0400 |
commit | ea4e6f2e3d4d0ce6473fd2be5d9307c1e6545f72 (patch) | |
tree | 918dc5c703c8f1446624b70e9b1faacb00f1936a /src/mem/cache | |
parent | af26532bbd1a97a1f423c2944361290f1b696193 (diff) | |
download | gem5-ea4e6f2e3d4d0ce6473fd2be5d9307c1e6545f72.tar.xz |
add uglyiness to fix dmas
src/dev/io_device.cc:
extra printing and assertions
src/mem/bridge.hh:
deal with packets only satisfying part of a request by making many requests
src/mem/cache/cache_impl.hh:
make the cache try to satisfy a functional request from the cache above it before checking itself
--HG--
extra : convert_revision : 1df52ab61d7967e14cc377c560495430a6af266a
Diffstat (limited to 'src/mem/cache')
-rw-r--r-- | src/mem/cache/cache_impl.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh index c70f10151..db488d33d 100644 --- a/src/mem/cache/cache_impl.hh +++ b/src/mem/cache/cache_impl.hh @@ -1290,9 +1290,9 @@ template<class TagStore, class Coherence> void Cache<TagStore,Coherence>::MemSidePort::recvFunctional(PacketPtr pkt) { - if (checkFunctional(pkt)) { - myCache()->probe(pkt, false, cache->cpuSidePort); - } + myCache()->probe(pkt, false, cache->cpuSidePort); + if (pkt->result != Packet::Success) + checkFunctional(pkt); } |