diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-04-13 04:14:15 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-04-13 04:14:15 -0700 |
commit | 5c791916036b800509a6b1b72d442cb9858d995c (patch) | |
tree | d80072c6afe4d7467fb7351ec8cfcc4f6c8bdfb6 | |
parent | c87c9950dfa094b0c3820f9abca721b0d32d2a09 (diff) | |
download | gem5-5c791916036b800509a6b1b72d442cb9858d995c.tar.xz |
X86: Fix minor bug in the page table walker from TLB shuffling.
-rw-r--r-- | src/arch/x86/pagetable_walker.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/pagetable_walker.cc b/src/arch/x86/pagetable_walker.cc index 69ded7cbc..d43502760 100644 --- a/src/arch/x86/pagetable_walker.cc +++ b/src/arch/x86/pagetable_walker.cc @@ -98,7 +98,7 @@ Walker::doNext(PacketPtr &write) bool uncacheable = pte.pcd; Addr nextRead = 0; bool doWrite = false; - bool badNX = pte.nx && mode == BaseTLB::Write && enableNX; + bool badNX = pte.nx && mode == BaseTLB::Execute && enableNX; switch(state) { case LongPML4: DPRINTF(PageTableWalker, |