From: Yu-hsin Wang Date: Thu, 22 Oct 2020 10:12:06 +0000 (+0800) Subject: dev-arm: Fix VExpressFastmodel interrupt configs X-Git-Tag: develop-gem5-snapshot~577 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=360b7b06a49ae79ca2ed9993da512d2a5a4c6b61;p=gem5.git dev-arm: Fix VExpressFastmodel interrupt configs HDLcd interrupt params should receive ArmSPI class Change-Id: I4a5dacdfe5803511d19f2ed789017fb3b1857bdb Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36455 Reviewed-by: Giacomo Travaglini Maintainer: Giacomo Travaglini Tested-by: kokoro --- diff --git a/src/dev/arm/VExpressFastmodel.py b/src/dev/arm/VExpressFastmodel.py index 43f25efcf..015f6d4d7 100644 --- a/src/dev/arm/VExpressFastmodel.py +++ b/src/dev/arm/VExpressFastmodel.py @@ -24,7 +24,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. from m5.objects.FastModelGIC import FastModelGIC, SCFastModelGIC -from m5.objects.Gic import ArmInterruptPin +from m5.objects.Gic import ArmSPI from m5.objects.RealView import VExpress_GEM5_Base, HDLcd class VExpressFastmodel(VExpress_GEM5_Base): @@ -37,7 +37,7 @@ class VExpressFastmodel(VExpress_GEM5_Base): hdlcd = HDLcd( pxl_clk=VExpress_GEM5_Base.dcc.osc_pxl, pio_addr=0x2b000000, - interrupt=ArmInterruptPin(num=95)) + interrupt=ArmSPI(num=95)) def __init__(self, *args, **kwargs): super(VExpressFastmodel, self).__init__(*args, **kwargs)