MessagePort: implement the virtual recvTiming function to avoid double pkt delete
authorJoel Hestness <hestness@cs.utexas.edu>
Mon, 7 Feb 2011 06:14:17 +0000 (22:14 -0800)
committerJoel Hestness <hestness@cs.utexas.edu>
Mon, 7 Feb 2011 06:14:17 +0000 (22:14 -0800)
commitd9f0a8288e0522369928fec76a7d8b70e2b719eb
tree42da337edb675b3ae51f0af40bc621f198798e72
parent02b05bf9be2fa4cf5aae2a3a989ac27d675b0a50
MessagePort: implement the virtual recvTiming function to avoid double pkt delete

Double packet delete problem is due to an interrupt device deleting a packet that the SimpleTimingPort also deletes. Since MessagePort descends from SimpleTimingPort, simply reimplement the failing code from SimpleTimingPort: recvTiming.
src/arch/x86/interrupts.cc
src/dev/x86/intdev.cc
src/dev/x86/intdev.hh