dev-arm: Make CNTFRQ a GenericTimer parameter
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 26 May 2020 09:45:36 +0000 (10:45 +0100)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Thu, 28 May 2020 22:44:12 +0000 (22:44 +0000)
commit3dd3c1e8937d27c740a81bd6c3ba182ddf18e277
tree5088b2c0344bbecbb2aeba7554a8188d20da5dbd
parente2abf6c157ebde17e7bc7490bcbea7a9f823c8f1
dev-arm: Make CNTFRQ a GenericTimer parameter

This register should be in theory initialized by the highest
priviledged software. We do this in gem5 to avoid KVM
complications (the gem5 firmware won't run at highest EL)

JIRA: https://gem5.atlassian.net/browse/GEM5-611

Change-Id: I62d368105af48584f2fe9671de7c70b484b40c12
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29612
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: Bobby R. Bruce <bbruce@ucdavis.edu>
src/dev/arm/GenericTimer.py
src/dev/arm/generic_timer.cc
src/dev/arm/generic_timer.hh