1/* 2 * Copyright (c) 2007-2008 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 45 unchanged lines hidden (view full) --- 54 * 55 * Authors: Gabe Black 56 */ 57 58#include <cstring> 59 60#include "config/full_system.hh" 61 |
62#include "arch/x86/insts/microldstop.hh" |
63#include "arch/x86/pagetable.hh" 64#include "arch/x86/tlb.hh" 65#include "arch/x86/x86_traits.hh" 66#include "base/bitfield.hh" 67#include "base/trace.hh" 68#include "config/full_system.hh" 69#include "cpu/thread_context.hh" 70#include "cpu/base.hh" --- 120 unchanged lines hidden (view full) --- 191 bool &delayedResponse, bool timing) 192{ 193 delayedResponse = false; 194 Addr vaddr = req->getVaddr(); 195 DPRINTF(TLB, "Translating vaddr %#x.\n", vaddr); 196 uint32_t flags = req->getFlags(); 197 bool storeCheck = flags & StoreCheck; 198 |
199 int seg = flags & SegmentFlagMask; |
200 201 //XXX Junk code to surpress the warning 202 if (storeCheck); 203 204 // If this is true, we're dealing with a request to read an internal 205 // value. 206 if (seg == SEGMENT_REG_MS) { 207 DPRINTF(TLB, "Addresses references internal memory.\n"); --- 577 unchanged lines hidden --- |