From db8c55dede65e07cb9ea8e95c48badd2ea24462f Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 8 Jan 2018 04:41:25 -0800 Subject: 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 Maintainer: Gabe Black --- src/mem/page_table.hh | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/mem/page_table.hh') 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, }; -- cgit v1.2.3