tlb.cc (11608:6319a1125f1c) | tlb.cc (11628:85011e8eaad9) |
---|---|
1/* 2 * Copyright (c) 2007-2008 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 221 unchanged lines hidden (view full) --- 230TLB::finalizePhysical(RequestPtr req, ThreadContext *tc, Mode mode) const 231{ 232 Addr paddr = req->getPaddr(); 233 234 AddrRange m5opRange(0xFFFF0000, 0xFFFFFFFF); 235 236 if (m5opRange.contains(paddr)) { 237 if (m5opRange.contains(paddr)) { | 1/* 2 * Copyright (c) 2007-2008 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 221 unchanged lines hidden (view full) --- 230TLB::finalizePhysical(RequestPtr req, ThreadContext *tc, Mode mode) const 231{ 232 Addr paddr = req->getPaddr(); 233 234 AddrRange m5opRange(0xFFFF0000, 0xFFFFFFFF); 235 236 if (m5opRange.contains(paddr)) { 237 if (m5opRange.contains(paddr)) { |
238 req->setFlags(Request::MMAPPED_IPR | Request::GENERIC_IPR); | 238 req->setFlags(Request::MMAPPED_IPR | Request::GENERIC_IPR | 239 Request::STRICT_ORDER); |
239 req->setPaddr(GenericISA::iprAddressPseudoInst( 240 (paddr >> 8) & 0xFF, 241 paddr & 0xFF)); 242 } 243 } else if (FullSystem) { 244 // Check for an access to the local APIC 245 LocalApicBase localApicBase = 246 tc->readMiscRegNoEffect(MISCREG_APIC_BASE); --- 255 unchanged lines hidden --- | 240 req->setPaddr(GenericISA::iprAddressPseudoInst( 241 (paddr >> 8) & 0xFF, 242 paddr & 0xFF)); 243 } 244 } else if (FullSystem) { 245 // Check for an access to the local APIC 246 LocalApicBase localApicBase = 247 tc->readMiscRegNoEffect(MISCREG_APIC_BASE); --- 255 unchanged lines hidden --- |