arm: Don't force the ArmISA::TLB in vtophys.cc.
authorGabe Black <gabeblack@google.com>
Wed, 16 Oct 2019 04:22:35 +0000 (21:22 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 17 Oct 2019 23:10:37 +0000 (23:10 +0000)
commit066349d784b6709df5994857b8f35c37fda7c564
treef373220fad542e264e68fab8fb0249872d6082cc
parent3c642b1c5c95f9c8bae4994ae44ff2a12662f488
arm: Don't force the ArmISA::TLB in vtophys.cc.

The only reason the TLB pointer is being cast to an ArmISA::TLB is so
that it can call a version of translateFunctional which takes more
arguments, when the standard version of translateFunctional just calls
that underlying function with the same arguments.

Change-Id: I3ffd3a8ecc2dda91ddca77f516e2b2ac7313a227
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21840
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
src/arch/arm/vtophys.cc