One step closet to having NACK's work.

src/cpu/memtest/memtest.cc:
    Fix functional return path
src/cpu/memtest/memtest.hh:
    Add snoop ranges in
src/mem/cache/base_cache.cc:
    Properly signal NACKED
src/mem/cache/cache_impl.hh:
    Catch nacked packet and panic for now

--HG--
extra : convert_revision : 59a64e82254dfa206681c5f987e6939167754d67
This commit is contained in:
Ron Dreslinski
2006-10-09 18:52:20 -04:00
parent 727dea78c4
commit 13ac9a419d
4 changed files with 17 additions and 7 deletions

View File

@@ -217,7 +217,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