From 54cf33fbf392f4dc47c8c3559e6f6f10ae3288dc Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 27 Aug 2019 17:20:30 -0700 Subject: 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 Maintainer: Giacomo Travaglini Tested-by: kokoro --- src/arch/arm/fastmodel/GIC/SConscript | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/arch/arm/fastmodel/GIC/SConscript') diff --git a/src/arch/arm/fastmodel/GIC/SConscript b/src/arch/arm/fastmodel/GIC/SConscript index c52304d2d..be5cbbded 100644 --- a/src/arch/arm/fastmodel/GIC/SConscript +++ b/src/arch/arm/fastmodel/GIC/SConscript @@ -30,7 +30,10 @@ Import('*') if not env['USE_ARM_FASTMODEL'] or env['TARGET_ISA'] != 'arm': Return() -ArmFastModelComponent(File('GIC.sgproj'), File('commands.hh'), - File('GIC.lisa')).prepare_env(env) +protocol_dir = Dir('..').Dir('protocol') + +ArmFastModelComponent(File('GIC.sgproj'), File('GIC.lisa'), + protocol_dir.File('SignalInterruptProtocol.lisa') + ).prepare_env(env) SimObject('FastModelGIC.py') Source('gic.cc') -- cgit v1.2.3