summaryrefslogtreecommitdiff
path: root/src/mem/page_table.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-01-08 04:41:25 -0800
committerGabe Black <gabeblack@google.com>2018-01-23 20:14:48 +0000
commitdb8c55dede65e07cb9ea8e95c48badd2ea24462f (patch)
tree8b8b4fad738f3ecd3907bb6157517cc0e8a822eb /src/mem/page_table.hh
parent8cb6bb444a6ee0106807d0a22bbc63323b410bf8 (diff)
downloadgem5-db8c55dede65e07cb9ea8e95c48badd2ea24462f.tar.xz
x86, mem: Rewrite the multilevel page table class.
The new version extracts all the x86 specific aspects of the class, and builds the interface around a variable collection of template arguments which are classes that represent the different levels of the page table. The multilevel page table class is now much more ISA independent. Change-Id: Id42e168a78d0e70f80ab2438480cb6e00a3aa636 Reviewed-on: https://gem5-review.googlesource.com/7347 Reviewed-by: Brandon Potter <Brandon.Potter@amd.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/mem/page_table.hh')
-rw-r--r--src/mem/page_table.hh3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mem/page_table.hh b/src/mem/page_table.hh
index 470a3e7d6..733cdd2e3 100644
--- a/src/mem/page_table.hh
+++ b/src/mem/page_table.hh
@@ -78,14 +78,11 @@ class EmulationPageTable : public Serializable
/* generic page table mapping flags
* unset | set
* bit 0 - no-clobber | clobber
- * bit 1 - present | not-present
* bit 2 - cacheable | uncacheable
* bit 3 - read-write | read-only
*/
enum MappingFlags : uint32_t {
- Zero = 0,
Clobber = 1,
- NotPresent = 2,
Uncacheable = 4,
ReadOnly = 8,
};