fastmodel: Pull out and simplify the interrupt mechanism in the GIC.
authorGabe Black <gabeblack@google.com>
Wed, 28 Aug 2019 00:20:30 +0000 (17:20 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 1 Oct 2019 22:08:49 +0000 (22:08 +0000)
commit54cf33fbf392f4dc47c8c3559e6f6f10ae3288dc
tree4bf35806fc82cb7ec202d432fe3e08124189c7b1
parent791d7f4f416ac7469626fcf10fab1b1aa9183cf9
fastmodel: Pull out and simplify the interrupt mechanism in the GIC.

This change pulls out the SPI and PPI command structures and replaces
them with a custom protocol which can deliver a SPI or PPI without
having to bundle their parameters into a structure.

Change-Id: I8f15c8b3182bd6560bf5ef0345b0bc64173def85
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21042
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/fastmodel/GIC/GIC.lisa
src/arch/arm/fastmodel/GIC/GIC.sgproj
src/arch/arm/fastmodel/GIC/SConscript
src/arch/arm/fastmodel/GIC/commands.hh [deleted file]
src/arch/arm/fastmodel/GIC/gic.cc
src/arch/arm/fastmodel/GIC/gic.hh
src/arch/arm/fastmodel/protocol/SConscript
src/arch/arm/fastmodel/protocol/SignalInterruptProtocol.lisa [new file with mode: 0644]
src/arch/arm/fastmodel/protocol/signal_interrupt.hh [new file with mode: 0644]