/**
* Does all the processing necessary to perform the provided request.
* @param pkt The memory request to perform.
+ * @param blk The cache block to be updated.
* @param lat The latency of the access.
* @param writebacks List for any writebacks that need to be performed.
- * @param update True if the replacement data should be updated.
* @return Boolean indicating whether the request was satisfied.
*/
bool access(PacketPtr pkt, BlkType *&blk,
Cache<TagStore>::allocateBlock(Addr addr, bool is_secure,
PacketList &writebacks)
{
- BlkType *blk = tags->findVictim(addr, writebacks);
+ BlkType *blk = tags->findVictim(addr);
if (blk->isValid()) {
Addr repl_addr = tags->regenerateBlkAddr(blk->tag, blk->set);
}
FALRUBlk*
-FALRU::findVictim(Addr addr, PacketList &writebacks)
+FALRU::findVictim(Addr addr)
{
FALRUBlk * blk = tail;
assert(blk->inCache == 0);
/**
* Find a replacement block for the address provided.
* @param pkt The request to a find a replacement candidate for.
- * @param writebacks List for any writebacks to be performed.
* @return The block to place the replacement in.
*/
- FALRUBlk* findVictim(Addr addr, PacketList & writebacks);
+ FALRUBlk* findVictim(Addr addr);
void insertBlock(PacketPtr pkt, BlkType *blk);
}
LRU::BlkType*
-LRU::findVictim(Addr addr, PacketList &writebacks)
+LRU::findVictim(Addr addr)
{
unsigned set = extractSet(addr);
// grab a replacement candidate
/**
* Find a block to evict for the address provided.
* @param addr The addr to a find a replacement candidate for.
- * @param writebacks List for any writebacks to be performed.
* @return The candidate block.
*/
- BlkType* findVictim(Addr addr, PacketList &writebacks);
+ BlkType* findVictim(Addr addr);
/**
* Insert the new block into the cache. For LRU this means inserting into