base.cc (9546:ac0c18d738ce) | base.cc (10024:fc10e1f9f124) |
---|---|
1/* 2 * Copyright (c) 2013 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 --- 233 unchanged lines hidden (view full) --- 242 if (inPrefetch(addr) != pf.end()) { 243 pfBufferHit++; 244 DPRINTF(HWPrefetch, "Prefetch addr already in pf buffer\n"); 245 continue; 246 } 247 248 // create a prefetch memreq 249 Request *prefetchReq = new Request(*addrIter, blkSize, 0, masterId); | 1/* 2 * Copyright (c) 2013 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 --- 233 unchanged lines hidden (view full) --- 242 if (inPrefetch(addr) != pf.end()) { 243 pfBufferHit++; 244 DPRINTF(HWPrefetch, "Prefetch addr already in pf buffer\n"); 245 continue; 246 } 247 248 // create a prefetch memreq 249 Request *prefetchReq = new Request(*addrIter, blkSize, 0, masterId); |
250 prefetchReq->taskId(ContextSwitchTaskId::Prefetcher); |
|
250 PacketPtr prefetch = 251 new Packet(prefetchReq, MemCmd::HardPFReq); 252 prefetch->allocate(); 253 prefetch->req->setThreadContext(pkt->req->contextId(), 254 pkt->req->threadId()); 255 256 // We just remove the head if we are full 257 if (pf.size() == size) { --- 37 unchanged lines hidden --- | 251 PacketPtr prefetch = 252 new Packet(prefetchReq, MemCmd::HardPFReq); 253 prefetch->allocate(); 254 prefetch->req->setThreadContext(pkt->req->contextId(), 255 pkt->req->threadId()); 256 257 // We just remove the head if we are full 258 if (pf.size() == size) { --- 37 unchanged lines hidden --- |