From: Gabe Black Date: Mon, 13 Apr 2009 11:14:15 +0000 (-0700) Subject: X86: Fix minor bug in the page table walker from TLB shuffling. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c791916036b800509a6b1b72d442cb9858d995c;p=gem5.git X86: Fix minor bug in the page table walker from TLB shuffling. --- 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,