From c70b4e28c4fcd43369d0e78f32963feaedccd3b9 Mon Sep 17 00:00:00 2001 From: Yu-hsin Wang Date: Wed, 21 Oct 2020 18:23:00 +0800 Subject: [PATCH] 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 --- configs/example/arm/devices.py | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.30.2