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; --- 84 unchanged lines hidden (view full) --- 93 virtual ~CompressedTags() {}; 94 95 /** 96 * Initialize blocks as SuperBlk and CompressionBlk instances. 97 */ 98 void tagsInit() override; 99 100 /** |
101 * Find replacement victim based on address. Checks if data can be co- 102 * allocated before choosing blocks to be evicted. 103 * 104 * @param addr Address to find a victim for. 105 * @param is_secure True if the target memory space is secure. 106 * @param compressed_size Size, in bits, of new block to allocate. 107 * @param evict_blks Cache blocks to be evicted. 108 * @return Cache block to be replaced. --- 36 unchanged lines hidden --- |