queued.cc (11428:20264eb69fbf) | queued.cc (11429:cf5af0cc3be4) |
---|---|
1/* 2 * Copyright (c) 2014 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 --- 108 unchanged lines hidden (view full) --- 117 if (is_secure) { 118 pf_req->setFlags(Request::SECURE); 119 } 120 pf_req->taskId(ContextSwitchTaskId::Prefetcher); 121 PacketPtr pf_pkt = new Packet(pf_req, MemCmd::HardPFReq); 122 pf_pkt->allocate(); 123 124 if (pkt->req->hasContextId()) { | 1/* 2 * Copyright (c) 2014 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 --- 108 unchanged lines hidden (view full) --- 117 if (is_secure) { 118 pf_req->setFlags(Request::SECURE); 119 } 120 pf_req->taskId(ContextSwitchTaskId::Prefetcher); 121 PacketPtr pf_pkt = new Packet(pf_req, MemCmd::HardPFReq); 122 pf_pkt->allocate(); 123 124 if (pkt->req->hasContextId()) { |
125 pf_req->setContext(pkt->req->contextId()); | 125 pf_req->setThreadContext(pkt->req->contextId(), 126 pkt->req->threadId()); |
126 } 127 128 if (tagPrefetch && pkt->req->hasPC()) { 129 // Tag prefetch packet with accessing pc 130 pf_pkt->req->setPC(pkt->req->getPC()); 131 } 132 133 // Verify prefetch buffer space for request --- 76 unchanged lines hidden --- | 127 } 128 129 if (tagPrefetch && pkt->req->hasPC()) { 130 // Tag prefetch packet with accessing pc 131 pf_pkt->req->setPC(pkt->req->getPC()); 132 } 133 134 // Verify prefetch buffer space for request --- 76 unchanged lines hidden --- |