x86: Use a std::function to handle MSI completion.
authorGabe Black <gabeblack@google.com>
Wed, 11 Sep 2019 23:11:11 +0000 (16:11 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 15 Oct 2019 22:46:31 +0000 (22:46 +0000)
commit245422102c049cc744d695103ead1caa9d9870ca
treec53f03646d14e517fb3f449f96ad866e16fa40da
parentd856e5ce7154202f050dafdb7a638e1146081507
x86: Use a std::function to handle MSI completion.

This removes the recvResponse callback from the IntMasterPort, and
makes it easier to handle the default case where we just need to clean
up the Packet.

Change-Id: I8bcbfee0aaf68b12310d773f925c399fc87ea65d
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20828
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
src/arch/x86/interrupts.cc
src/arch/x86/interrupts.hh
src/dev/x86/i82094aa.cc
src/dev/x86/intdev.hh