1/* 2 * Copyright (c) 2011-2012 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 --- 305 unchanged lines hidden (view full) --- 314 // Speculatively clear the retry Tid. This will get set again if 315 // the LSQUnit was unable to complete its access. 316 retryTid = -1; 317 thread[curr_retry_tid].recvRetry(); 318} 319 320template <class Impl> 321bool |
322LSQ<Impl>::recvTimingResp(PacketPtr pkt) |
323{ |
324 if (pkt->isError()) 325 DPRINTF(LSQ, "Got error packet back for address: %#X\n", 326 pkt->getAddr()); 327 thread[pkt->req->threadId()].completeDataAccess(pkt); 328 return true; 329} 330 331template <class Impl> |
332void 333LSQ<Impl>::recvTimingSnoopReq(PacketPtr pkt) |
334{ |
335 DPRINTF(LSQ, "received pkt for addr:%#x %s\n", pkt->getAddr(), 336 pkt->cmdString()); 337 338 // must be a snoop 339 if (pkt->isInvalidate()) { 340 DPRINTF(LSQ, "received invalidation for addr:%#x\n", 341 pkt->getAddr()); 342 for (ThreadID tid = 0; tid < numThreads; tid++) { 343 thread[tid].checkSnoop(pkt); 344 } 345 } |
346} 347 348template<class Impl> 349int 350LSQ<Impl>::getCount() 351{ 352 unsigned total = 0; 353 --- 255 unchanged lines hidden --- |