summaryrefslogtreecommitdiff
path: root/src/mem/page_table.cc
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.cc
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.cc')
-rw-r--r--src/mem/page_table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/page_table.cc b/src/mem/page_table.cc
index 26cc6e537..ee504196a 100644
--- a/src/mem/page_table.cc
+++ b/src/mem/page_table.cc
@@ -70,7 +70,7 @@ EmulationPageTable::map(Addr vaddr, Addr paddr, int64_t size, uint64_t flags)
delete it->second;
} else {
// already mapped
- fatal("EmulationPageTable::allocate: addr %#x already mapped",
+ panic("EmulationPageTable::allocate: addr %#x already mapped",
vaddr);
}
} else {