dev,arm: Use the ArmSystem::PageBytes constant in the generic timer.
authorGabe Black <gabeblack@google.com>
Mon, 7 Sep 2020 06:21:48 +0000 (23:21 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 8 Sep 2020 22:05:55 +0000 (22:05 +0000)
commit308b3bbbd6339afbfcd0a3d79bdcb6f6086f3628
tree881067ae4a82776898a74a25d88521947816affe
parent0e41f063bef9895e5f0e2bc1a862c27ea249a3df
dev,arm: Use the ArmSystem::PageBytes constant in the generic timer.

This component very specific to ARM, and so there's no reason to use
generic interfaces to get the page size.

Change-Id: Id757b5742c807c5f616a6dc8df94a7709932d071
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34171
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/dev/arm/generic_timer.cc