Deleted Added
sdiff udiff text old ( 12752:6a0e3eb1cc5d ) new ( 12753:fe5b2dbe42bb )
full compact
1/*
2 * Copyright (c) 2018 Inria
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 180 unchanged lines hidden (view full) ---

189
190const std::vector<SectorBlk*>
191SectorTags::getPossibleLocations(Addr addr) const
192{
193 return sets[extractSet(addr)];
194}
195
196void
197SectorTags::insertBlock(PacketPtr pkt, CacheBlk *blk)
198{
199 // Insert block
200 BaseTags::insertBlock(pkt, blk);
201
202 // Get block's sector
203 SectorSubBlk* sub_blk = static_cast<SectorSubBlk*>(blk);
204 const SectorBlk* sector_blk = sub_blk->getSectorBlock();
205

--- 149 unchanged lines hidden ---