fastmodel: fix cntfrq in A76

Change-Id: I7d1167e8b61d6768039c34fe1ee54560f7845dfa
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40355
Reviewed-by: Ahbong Chang <cwahbong@google.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Earl Ou
2021-02-02 17:31:15 +08:00
parent 14d6e8fac4
commit 03fc457b86

View File

@@ -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