noncoherent_cache.cc (13358:5e1605b47a21) | noncoherent_cache.cc (13478:59414c401cd9) |
---|---|
1/* 2 * Copyright (c) 2010-2018 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 --- 229 unchanged lines hidden (view full) --- 238 panic_if(!from_cpu_side, "Non-coherent cache received functional snoop" 239 " request\n"); 240 241 BaseCache::functionalAccess(pkt, from_cpu_side); 242} 243 244void 245NoncoherentCache::serviceMSHRTargets(MSHR *mshr, const PacketPtr pkt, | 1/* 2 * Copyright (c) 2010-2018 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 --- 229 unchanged lines hidden (view full) --- 238 panic_if(!from_cpu_side, "Non-coherent cache received functional snoop" 239 " request\n"); 240 241 BaseCache::functionalAccess(pkt, from_cpu_side); 242} 243 244void 245NoncoherentCache::serviceMSHRTargets(MSHR *mshr, const PacketPtr pkt, |
246 CacheBlk *blk, PacketList &writebacks) | 246 CacheBlk *blk) |
247{ 248 MSHR::Target *initial_tgt = mshr->getTarget(); 249 // First offset for critical word first calculations 250 const int initial_offset = initial_tgt->pkt->getOffset(blkSize); 251 252 MSHR::TargetList targets = mshr->extractServiceableTargets(pkt); 253 for (auto &target: targets) { 254 Packet *tgt_pkt = target.pkt; --- 113 unchanged lines hidden --- | 247{ 248 MSHR::Target *initial_tgt = mshr->getTarget(); 249 // First offset for critical word first calculations 250 const int initial_offset = initial_tgt->pkt->getOffset(blkSize); 251 252 MSHR::TargetList targets = mshr->extractServiceableTargets(pkt); 253 for (auto &target: targets) { 254 Packet *tgt_pkt = target.pkt; --- 113 unchanged lines hidden --- |