x86: Templatize the IntMasterPort.
authorGabe Black <gabeblack@google.com>
Wed, 11 Sep 2019 20:26:09 +0000 (13:26 -0700)
committerGabe Black <gabeblack@google.com>
Sat, 21 Sep 2019 05:05:18 +0000 (05:05 +0000)
commite6c6f0601cff25bb0b9e11a7bed56f77735b21db
tree411af86137f04e752eee73c9893c7b8b0a7c751c
parentcc03cf8270fad7261f08527637325cb42615c887
x86: Templatize the IntMasterPort.

This makes the IntMasterPort usable with any class, making it possible
to avoid inheriting from IntDevice.

It also makes IntMasterPort inherit directly from QueuedMasterPort,
skipping over MessageMasterPort.

Change-Id: I9d218556c838ea567ced5f6fa4d57a3ec9d28d31
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20821
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.cc
src/arch/x86/interrupts.hh
src/dev/x86/i82094aa.cc
src/dev/x86/i82094aa.hh
src/dev/x86/intdev.cc
src/dev/x86/intdev.hh