arch,mem: Move page table construction into the arch classes.
authorGabe Black <gabeblack@google.com>
Sat, 23 Dec 2017 00:14:03 +0000 (16:14 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 11 Jan 2018 06:29:58 +0000 (06:29 +0000)
commit54a9d471faab2b4ab3ef26932957b2e0d496e84e
tree2fc64af43a35ca47cb2bc06461ff76f8092e1262
parentc2f3f6dbff9b29730da17269397f918742559179
arch,mem: Move page table construction into the arch classes.

This gets rid of an awkward NoArchPageTable class, and also gives the
arch a place to inject ISA specific parameters (specifically page size)
without having to have TheISA:: in the generic version of these types.

Change-Id: I1412f303460d5c43dafdb9b3cd07af81c908a441
Reviewed-on: https://gem5-review.googlesource.com/6981
Reviewed-by: Alexandru Duțu <alexandru.dutu@amd.com>
Maintainer: Gabe Black <gabeblack@google.com>
17 files changed:
src/arch/alpha/process.cc
src/arch/alpha/process.hh
src/arch/arm/process.cc
src/arch/arm/process.hh
src/arch/mips/process.cc
src/arch/mips/process.hh
src/arch/power/process.cc
src/arch/power/process.hh
src/arch/riscv/process.cc
src/arch/riscv/process.hh
src/arch/sparc/process.cc
src/arch/sparc/process.hh
src/arch/x86/process.cc
src/arch/x86/process.hh
src/mem/page_table.hh
src/sim/process.cc
src/sim/process.hh