diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-04-19 03:54:11 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-04-19 03:54:11 -0700 |
commit | bdda224d4110dd8ebb6224bfa9bc2641957a8c57 (patch) | |
tree | 50cc190f8f9de426b79d0bc4ae7c7a32ae96857f /src/mem | |
parent | 3031af21c7b0d73508f3b339e8166e744857c18f (diff) | |
download | gem5-bdda224d4110dd8ebb6224bfa9bc2641957a8c57.tar.xz |
X86: Add a function which gets called when an interrupt message has been delivered.
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/mport.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mem/mport.cc b/src/mem/mport.cc index 72bcfc7fd..564c560c6 100644 --- a/src/mem/mport.cc +++ b/src/mem/mport.cc @@ -56,5 +56,8 @@ MessagePort::sendMessageTiming(PacketPtr pkt, Tick latency) Tick MessagePort::sendMessageAtomic(PacketPtr pkt) { - return sendAtomic(pkt); + Tick latency = sendAtomic(pkt); + assert(pkt->isResponse()); + latency += recvResponse(pkt); + return latency; } |