summaryrefslogtreecommitdiff
path: root/src/arch/x86/tlb.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-04-23 01:43:00 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-04-23 01:43:00 -0700
commitee7055c289c5a5181f425ad0851fb12d9e236146 (patch)
treec54dfc8215f385b9e054e25832e02f85a74b6a19 /src/arch/x86/tlb.cc
parentb4816037bacb28e3be84cd097d63eaa52d4f7795 (diff)
downloadgem5-ee7055c289c5a5181f425ad0851fb12d9e236146.tar.xz
X86: Put the StoreCheck flag with the others, and don't collide with other flags.
Diffstat (limited to 'src/arch/x86/tlb.cc')
-rw-r--r--src/arch/x86/tlb.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/tlb.cc b/src/arch/x86/tlb.cc
index 9b4a397ee..f8b5c3392 100644
--- a/src/arch/x86/tlb.cc
+++ b/src/arch/x86/tlb.cc
@@ -193,7 +193,7 @@ TLB::translate(RequestPtr req, ThreadContext *tc, Translation *translation,
Addr vaddr = req->getVaddr();
DPRINTF(TLB, "Translating vaddr %#x.\n", vaddr);
uint32_t flags = req->getFlags();
- bool storeCheck = flags & StoreCheck;
+ bool storeCheck = flags & (StoreCheck << FlagShift);
int seg = flags & SegmentFlagMask;