From 860155a5fc48f983e9af40c19bf8db8250709c26 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Tue, 19 Feb 2013 05:56:06 -0500 Subject: mem: Enforce strict use of busFirst- and busLastWordTime This patch adds a check to ensure that the delay incurred by the bus is not simply disregarded, but accounted for by someone. At this point, all the modules do is to zero it out, and no additional time is spent. This highlights where the bus timing is simply dropped instead of being paid for. As a follow up, the locations identified in this patch should add this additional time to the packets in one way or another. For now it simply acts as a sanity check and highlights where the delay is simply ignored. Since no time is added, all regressions remain the same. --- src/dev/x86/intdev.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dev/x86') diff --git a/src/dev/x86/intdev.hh b/src/dev/x86/intdev.hh index a32182a92..a94ca47cc 100644 --- a/src/dev/x86/intdev.hh +++ b/src/dev/x86/intdev.hh @@ -81,6 +81,8 @@ class IntDev Tick recvMessage(PacketPtr pkt) { + // @todo someone should pay for this + pkt->busFirstWordDelay = pkt->busLastWordDelay = 0; return device->recvMessage(pkt); } }; -- cgit v1.2.3