1/* 2 * Copyright (c) 2013,2016 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 --- 61 unchanged lines hidden (view full) --- 70{ 71 assert(!cache); 72 cache = _cache; 73} 74 75void 76BaseTags::insertBlock(PacketPtr pkt, CacheBlk *blk) 77{ |
78 assert(!blk->isValid()); 79 |
80 // Get address 81 Addr addr = pkt->getAddr(); 82 |
83 // Previous block, if existed, has been removed, and now we have 84 // to insert the new one 85 86 // Deal with what we are bringing in 87 MasterID master_id = pkt->req->masterId(); 88 assert(master_id < cache->system->maxMasters()); 89 occupancies[master_id]++; 90 --- 105 unchanged lines hidden --- |