diff options
author | Alexandru <alexandru.dutu@amd.com> | 2014-08-28 10:11:44 -0500 |
---|---|---|
committer | Alexandru <alexandru.dutu@amd.com> | 2014-08-28 10:11:44 -0500 |
commit | 5efbb4442a0e8c653539e263bf87c48849280e23 (patch) | |
tree | da6807c806ebb1f658692c5bf823156831134c9f /src/arch/x86/pagetable_walker.cc | |
parent | 26ac28dec288e4fd96d999267ec7cafad4d58c5a (diff) | |
download | gem5-5efbb4442a0e8c653539e263bf87c48849280e23.tar.xz |
mem: adding architectural page table support for SE mode
This patch enables the use of page tables that are stored in system memory
and respect x86 specification, in SE mode. It defines an architectural
page table for x86 as a MultiLevelPageTable class and puts a placeholder
class for other ISAs page tables, giving the possibility for future
implementation.
Diffstat (limited to 'src/arch/x86/pagetable_walker.cc')
-rw-r--r-- | src/arch/x86/pagetable_walker.cc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/arch/x86/pagetable_walker.cc b/src/arch/x86/pagetable_walker.cc index e75f2edc4..3d8cc9292 100644 --- a/src/arch/x86/pagetable_walker.cc +++ b/src/arch/x86/pagetable_walker.cc @@ -63,23 +63,6 @@ namespace X86ISA { -// Unfortunately, the placement of the base field in a page table entry is -// very erratic and would make a mess here. It might be moved here at some -// point in the future. -BitUnion64(PageTableEntry) - Bitfield<63> nx; - Bitfield<11, 9> avl; - Bitfield<8> g; - Bitfield<7> ps; - Bitfield<6> d; - Bitfield<5> a; - Bitfield<4> pcd; - Bitfield<3> pwt; - Bitfield<2> u; - Bitfield<1> w; - Bitfield<0> p; -EndBitUnion(PageTableEntry) - Fault Walker::start(ThreadContext * _tc, BaseTLB::Translation *_translation, RequestPtr _req, BaseTLB::Mode _mode) |