fastmodel: remove incorrect cntfrq update
authorEarl Ou <shunhsingou@google.com>
Wed, 27 Jan 2021 08:24:09 +0000 (16:24 +0800)
committerEarl Ou <shunhsingou@google.com>
Mon, 1 Feb 2021 08:47:57 +0000 (08:47 +0000)
commit9d98439ca0c9294dc7755594c48f123b734f0979
tree776a591c6eff8c0349542a448df816b85093e334
parentf2c6e8bd130e859a56842e0fe9f9021ea91c5623
fastmodel: remove incorrect cntfrq update

The register cntfrq should be set to system counter frequency.
However, the current fastmodel implementation accidentally set it to
core frequency. This CL removes the wrong implementation, and real
cntfrq setting is performed in the initState.

Change-Id: I6c62822a4fbbcc0c499f79f6003dabb0c133f997
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40276
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/fastmodel/CortexA76/cortex_a76.hh