cache.cc (11867:1342b4dbc556) cache.cc (11870:b470020b29de)
1/*
2 * Copyright (c) 2010-2016 ARM Limited
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

--- 300 unchanged lines hidden (view full) ---

309 }
310
311 blk = nullptr;
312 // lookupLatency is the latency in case the request is uncacheable.
313 lat = lookupLatency;
314 return false;
315 }
316
1/*
2 * Copyright (c) 2010-2016 ARM Limited
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

--- 300 unchanged lines hidden (view full) ---

309 }
310
311 blk = nullptr;
312 // lookupLatency is the latency in case the request is uncacheable.
313 lat = lookupLatency;
314 return false;
315 }
316
317 ContextID id = pkt->req->hasContextId() ?
318 pkt->req->contextId() : InvalidContextID;
319 // Here lat is the value passed as parameter to accessBlock() function
320 // that can modify its value.
317 // Here lat is the value passed as parameter to accessBlock() function
318 // that can modify its value.
321 blk = tags->accessBlock(pkt->getAddr(), pkt->isSecure(), lat, id);
319 blk = tags->accessBlock(pkt->getAddr(), pkt->isSecure(), lat);
322
323 DPRINTF(Cache, "%s %s\n", pkt->print(),
324 blk ? "hit " + blk->print() : "miss");
325
326
327 if (pkt->isEviction()) {
328 // We check for presence of block in above caches before issuing
329 // Writeback or CleanEvict to write buffer. Therefore the only

--- 2344 unchanged lines hidden ---
320
321 DPRINTF(Cache, "%s %s\n", pkt->print(),
322 blk ? "hit " + blk->print() : "miss");
323
324
325 if (pkt->isEviction()) {
326 // We check for presence of block in above caches before issuing
327 // Writeback or CleanEvict to write buffer. Therefore the only

--- 2344 unchanged lines hidden ---