diff options
Diffstat (limited to 'src/mem/tport.cc')
-rw-r--r-- | src/mem/tport.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mem/tport.cc b/src/mem/tport.cc index 7a0dd7cd9..4408b59ba 100644 --- a/src/mem/tport.cc +++ b/src/mem/tport.cc @@ -68,12 +68,10 @@ SimpleTimingPort::recvTimingReq(PacketPtr pkt) delete pendingDelete[x]; pendingDelete.clear(); - if (pkt->memInhibitAsserted()) { - // snooper will supply based on copy of packet - // still target's responsibility to delete packet - delete pkt; - return true; - } + // the SimpleTimingPort should not be used anywhere where there is + // a need to deal with inhibited packets + if (pkt->memInhibitAsserted()) + panic("SimpleTimingPort should never see an inhibited request\n"); bool needsResponse = pkt->needsResponse(); Tick latency = recvAtomic(pkt); |