X86: Fix minor bug in the page table walker from TLB shuffling.

This commit is contained in:
Gabe Black 2009-04-13 04:14:15 -07:00
parent c87c9950df
commit 5c79191603

View file

@ -98,7 +98,7 @@ Walker::doNext(PacketPtr &write)
bool uncacheable = pte.pcd; bool uncacheable = pte.pcd;
Addr nextRead = 0; Addr nextRead = 0;
bool doWrite = false; bool doWrite = false;
bool badNX = pte.nx && mode == BaseTLB::Write && enableNX; bool badNX = pte.nx && mode == BaseTLB::Execute && enableNX;
switch(state) { switch(state) {
case LongPML4: case LongPML4:
DPRINTF(PageTableWalker, DPRINTF(PageTableWalker,