fetch_impl.hh (9152:86c0e6ca5e7c) fetch_impl.hh (9165:f9e3dac185ba)
1/*
2 * Copyright (c) 2010-2011 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

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

358template<class Impl>
359void
360DefaultFetch<Impl>::processCacheCompletion(PacketPtr pkt)
361{
362 ThreadID tid = pkt->req->threadId();
363
364 DPRINTF(Fetch, "[tid:%u] Waking up from cache miss.\n", tid);
365
1/*
2 * Copyright (c) 2010-2011 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

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

358template<class Impl>
359void
360DefaultFetch<Impl>::processCacheCompletion(PacketPtr pkt)
361{
362 ThreadID tid = pkt->req->threadId();
363
364 DPRINTF(Fetch, "[tid:%u] Waking up from cache miss.\n", tid);
365
366 assert(!pkt->wasNacked());
367
368 // Only change the status if it's still waiting on the icache access
369 // to return.
370 if (fetchStatus[tid] != IcacheWaitResponse ||
371 pkt->req != memReq[tid] ||
372 isSwitchedOut()) {
373 ++fetchIcacheSquashes;
374 delete pkt->req;
375 delete pkt;

--- 1235 unchanged lines hidden ---
366 // Only change the status if it's still waiting on the icache access
367 // to return.
368 if (fetchStatus[tid] != IcacheWaitResponse ||
369 pkt->req != memReq[tid] ||
370 isSwitchedOut()) {
371 ++fetchIcacheSquashes;
372 delete pkt->req;
373 delete pkt;

--- 1235 unchanged lines hidden ---