mem,sim: Get the page size from the page table in SE mode.
authorGabe Black <gabe.black@gmail.com>
Wed, 21 Oct 2020 11:32:39 +0000 (04:32 -0700)
committerGabe Black <gabe.black@gmail.com>
Fri, 6 Nov 2020 08:16:40 +0000 (08:16 +0000)
commit22e27e1d618d5e7cfa8673c1cdf5c0c2bd8f802c
tree9e7d60f565e43e8e41b26772578610f57c8e931f
parent5bedc520fe341be8df848f5754ff6a62c1524b74
mem,sim: Get the page size from the page table in SE mode.

The page table already knows the size of a page without having to
directly use any ISA specific constants.

Change-Id: I68b575e194697065620a2097d972076886766f74
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34172
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Gabe Black <gabe.black@gmail.com>
src/mem/multi_level_page_table.hh
src/mem/page_table.cc
src/mem/page_table.hh
src/sim/mem_state.cc
src/sim/process.cc
src/sim/syscall_emul.cc
src/sim/syscall_emul.hh