mem: Change the multilevel page table to inherit from FuncPageTable.
authorGabe Black <gabeblack@google.com>
Thu, 4 Jan 2018 08:30:38 +0000 (00:30 -0800)
committerGabe Black <gabeblack@google.com>
Wed, 17 Jan 2018 23:02:06 +0000 (23:02 +0000)
commitbe5f4836188e49003be4b78b158f201820b570dc
tree83ae738da5e0b76ffa99150af9cf967b738d6cb6
parent096cdd508d49c9572b4464cd7c394a6f586f489d
mem: Change the multilevel page table to inherit from FuncPageTable.

KVM looks up translations using the image of the page table in the
guest's memory, but we don't have to. By maintaining that image in
addition to rather than instead of maintaining an abstract copy makes
our lookups faster, and ironically avoids duplicate implementation.

Change-Id: I9ff4cae6f7cf4027c3738b75f74eae50dde2fda1
Reviewed-on: https://gem5-review.googlesource.com/7341
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/mem/multi_level_page_table.hh
src/mem/multi_level_page_table_impl.hh