tlb.cc (5895:569e3b31a868) | tlb.cc (5912:d113f6def227) |
---|---|
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 | 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" |
|
62#include "arch/x86/pagetable.hh" 63#include "arch/x86/tlb.hh" 64#include "arch/x86/x86_traits.hh" 65#include "base/bitfield.hh" 66#include "base/trace.hh" 67#include "config/full_system.hh" 68#include "cpu/thread_context.hh" 69#include "cpu/base.hh" --- 120 unchanged lines hidden (view full) --- 190 bool &delayedResponse, bool timing) 191{ 192 delayedResponse = false; 193 Addr vaddr = req->getVaddr(); 194 DPRINTF(TLB, "Translating vaddr %#x.\n", vaddr); 195 uint32_t flags = req->getFlags(); 196 bool storeCheck = flags & StoreCheck; 197 | 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 |
198 int seg = flags & mask(4); | 199 int seg = flags & SegmentFlagMask; |
199 200 //XXX Junk code to surpress the warning 201 if (storeCheck); 202 203 // If this is true, we're dealing with a request to read an internal 204 // value. 205 if (seg == SEGMENT_REG_MS) { 206 DPRINTF(TLB, "Addresses references internal memory.\n"); --- 577 unchanged lines hidden --- | 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 --- |