diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/tlb.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/tlb.cc b/src/arch/x86/tlb.cc index 8dad84dc4..eb6e9c530 100644 --- a/src/arch/x86/tlb.cc +++ b/src/arch/x86/tlb.cc @@ -289,7 +289,7 @@ TLB::translate(RequestPtr req, ThreadContext *tc, Translation *translation, return new GeneralProtection(0); } } - if (m5Reg.mode != LongMode || + if (m5Reg.submode != SixtyFourBitMode || (flags & (AddrSizeFlagBit << FlagShift))) vaddr &= mask(32); // If paging is enabled, do the translation. |