summaryrefslogtreecommitdiff
path: root/src/arch/arm/fastmodel/GIC/SConscript
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-08-27 17:20:30 -0700
committerGabe Black <gabeblack@google.com>2019-10-01 22:08:49 +0000
commit54cf33fbf392f4dc47c8c3559e6f6f10ae3288dc (patch)
tree4bf35806fc82cb7ec202d432fe3e08124189c7b1 /src/arch/arm/fastmodel/GIC/SConscript
parent791d7f4f416ac7469626fcf10fab1b1aa9183cf9 (diff)
downloadgem5-54cf33fbf392f4dc47c8c3559e6f6f10ae3288dc.tar.xz
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>
Diffstat (limited to 'src/arch/arm/fastmodel/GIC/SConscript')
-rw-r--r--src/arch/arm/fastmodel/GIC/SConscript7
1 files changed, 5 insertions, 2 deletions
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')