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/arch | |
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/arch')
-rw-r--r-- | src/arch/x86/interrupts.cc | 3 | ||||
-rw-r--r-- | src/arch/x86/interrupts.hh | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/interrupts.cc b/src/arch/x86/interrupts.cc index a0ce30ad7..9ac4b20ba 100644 --- a/src/arch/x86/interrupts.cc +++ b/src/arch/x86/interrupts.cc @@ -327,8 +327,7 @@ X86ISA::Interrupts::recvMessage(PacketPtr pkt) offset); break; } - delete pkt->req; - delete pkt; + pkt->makeAtomicResponse(); return latency; } diff --git a/src/arch/x86/interrupts.hh b/src/arch/x86/interrupts.hh index c43129133..ba92c77d6 100644 --- a/src/arch/x86/interrupts.hh +++ b/src/arch/x86/interrupts.hh @@ -213,6 +213,7 @@ class Interrupts : public BasicPioDevice, IntDev Tick read(PacketPtr pkt); Tick write(PacketPtr pkt); Tick recvMessage(PacketPtr pkt); + Tick recvResponse(PacketPtr pkt); bool triggerTimerInterrupt() |