arch,cpu: Get rid of unused/unimplemented vtophys variants.
authorGabe Black <gabeblack@google.com>
Tue, 3 Mar 2020 00:12:23 +0000 (16:12 -0800)
committerGabe Black <gabeblack@google.com>
Mon, 9 Mar 2020 21:31:50 +0000 (21:31 +0000)
commit4d5e1bf6a117a2dc15b62ee15de9082b83c56ab2
treefb2aa331f456081bed434100ffd073ccc06623e5
parentac275f96ec8384ff83a5476d23cd58441bb32f9f
arch,cpu: Get rid of unused/unimplemented vtophys variants.

The version of vtophys which didn't take a ThreadContext had only been
implemented on Alpha which has since been removed, so this version of
the function was completely unimplemented and never used.

This change also gets rid of the dbg_vtophys which was sometimes
implemented but also never used, and takes the opportunity to fix up
some style problems in some of the vtophys arch files.

Change-Id: Ie10f881f8ce08c7188e71805357cf3264be4c81a
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26224
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
17 files changed:
src/arch/arm/vtophys.cc
src/arch/arm/vtophys.hh
src/arch/mips/vtophys.cc
src/arch/mips/vtophys.hh
src/arch/power/vtophys.cc
src/arch/power/vtophys.hh
src/arch/riscv/vtophys.hh
src/arch/sparc/vtophys.cc
src/arch/sparc/vtophys.hh
src/arch/x86/vtophys.cc
src/arch/x86/vtophys.hh
src/cpu/checker/cpu.cc
src/cpu/checker/cpu.hh
src/cpu/minor/cpu.cc
src/cpu/minor/cpu.hh
src/cpu/simple/base.cc
src/cpu/simple/base.hh