From 03fc457b8621bc1d08473046a6ece8064357123f Mon Sep 17 00:00:00 2001 From: Earl Ou Date: Tue, 2 Feb 2021 17:31:15 +0800 Subject: [PATCH] fastmodel: fix cntfrq in A76 Change-Id: I7d1167e8b61d6768039c34fe1ee54560f7845dfa Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40355 Reviewed-by: Ahbong Chang Maintainer: Gabe Black Tested-by: kokoro --- src/arch/arm/fastmodel/CortexA76/cortex_a76.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/arm/fastmodel/CortexA76/cortex_a76.cc b/src/arch/arm/fastmodel/CortexA76/cortex_a76.cc index 11e8c985c..5da724b7f 100644 --- a/src/arch/arm/fastmodel/CortexA76/cortex_a76.cc +++ b/src/arch/arm/fastmodel/CortexA76/cortex_a76.cc @@ -42,7 +42,7 @@ CortexA76::initState() for (auto *tc : threadContexts) tc->setMiscRegNoEffect(ArmISA::MISCREG_CNTFRQ_EL0, params().cntfrq); - evs_base_cpu->setSysCounterFrq(cluster->params().cntfrq); + evs_base_cpu->setSysCounterFrq(params().cntfrq); } void -- 2.30.2