x86: Templatize IntSlavePort.
authorGabe Black <gabeblack@google.com>
Wed, 11 Sep 2019 00:24:47 +0000 (17:24 -0700)
committerGabe Black <gabeblack@google.com>
Sat, 21 Sep 2019 05:05:18 +0000 (05:05 +0000)
commitcc03cf8270fad7261f08527637325cb42615c887
tree2ad5ae3fac7254314146563b9edabb424250f4b9
parenta9ed1458ba374115e09a83ac5c6eae0e6e929f42
x86: Templatize IntSlavePort.

This makes the device IntSlavePort calls back into based on a template
parameter so that IntDevice doesn't have to be in the inheritance
hierarchy to use it.

It also makes IntSlavePort inherit from SimpleTimingPort directly,
skipping over MessageSlavePort.

Change-Id: Ic3213edc9c3ed5e506ee1e9f5e082cd47d7c7998
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20820
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
src/arch/x86/interrupts.hh
src/dev/x86/i82094aa.cc
src/dev/x86/i82094aa.hh
src/dev/x86/intdev.hh