summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@gmail.com>2008-06-13 01:33:49 -0400
committerSteve Reinhardt <stever@gmail.com>2008-06-13 01:33:49 -0400
commitcaccbd1edcacc82a952429950fcd4314b86b5b89 (patch)
tree3596b2d3ac32df16e87f2763892ea5cafc40e348
parent024ec4c5c310b1225a52532d41d5cc9f2633ae6c (diff)
downloadgem5-caccbd1edcacc82a952429950fcd4314b86b5b89.tar.xz
Get rid of bogus bus assertion.
It runs out that if a MemObject turns around and does a send in its receive callback, and there are other sends already scheduled, then it could observe a state where it's not at the head of the list but the bus's sendEvent is not scheduled (because we're still in the middle of processing the prior sendEvent).
-rw-r--r--src/mem/tport.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mem/tport.cc b/src/mem/tport.cc
index ad5e95909..15c7fdf9f 100644
--- a/src/mem/tport.cc
+++ b/src/mem/tport.cc
@@ -103,11 +103,6 @@ SimpleTimingPort::schedSendTiming(PacketPtr pkt, Tick when)
return;
}
- // list is non-empty and this is not the head, so event should
- // already be scheduled
- assert(waitingOnRetry ||
- (sendEvent->scheduled() && sendEvent->when() <= when));
-
// list is non-empty & this belongs at the end
if (when >= transmitList.back().tick) {
transmitList.push_back(DeferredPacket(when, pkt));