From: Yu-hsin Wang Date: Wed, 21 Oct 2020 10:23:00 +0000 (+0800) Subject: configs: Fix FastmodelCluster cpu initialization X-Git-Tag: develop-gem5-snapshot~591 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c70b4e28c4fcd43369d0e78f32963feaedccd3b9;p=gem5.git configs: Fix FastmodelCluster cpu initialization We should create the thread and the interrupt controller of fastmodel by calling the create function explicitly. Change-Id: I269440e144e83fa0a31d8cdf285fed31642f4f73 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36380 Reviewed-by: Earl Ou Reviewed-by: Giacomo Travaglini Maintainer: Gabe Black Tested-by: kokoro --- diff --git a/configs/example/arm/devices.py b/configs/example/arm/devices.py index 8c50f7e0f..971782d76 100644 --- a/configs/example/arm/devices.py +++ b/configs/example/arm/devices.py @@ -258,6 +258,8 @@ class FastmodelCluster(SubSystem): core.semihosting_enable = False core.RVBARADDR = 0x10 core.redistributor = gic.redistributor + core.createThreads() + core.createInterruptController() self.cpus = [ cpu ] a2t = AmbaToTlmBridge64(amba=cpu.amba)