mem-cache: Move evictBlock(CacheBlk*, PacketList&) to base
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Fri, 19 Oct 2018 15:58:42 +0000 (17:58 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Mon, 22 Oct 2018 10:19:10 +0000 (10:19 +0000)
commit0330c434e211c9b16402f4f0e76110a8524ca143
tree26a4e12bd1efb88d5140a9e12314973769cba820
parent34efcae1b532df56a7ef65f0e4b76179c9bc9479
mem-cache: Move evictBlock(CacheBlk*, PacketList&) to base

Move evictBlock(CacheBlk*, PacketList&) to base cache,
as it is both sub-classes implementations are equal.

Change-Id: I80fbd16813bfcc4938fb01ed76abe29b3f8b3018
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/13656
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/base.cc
src/mem/cache/base.hh
src/mem/cache/cache.cc
src/mem/cache/cache.hh
src/mem/cache/noncoherent_cache.cc
src/mem/cache/noncoherent_cache.hh