mem-cache: Make invalidate a common function between tag classes
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Mon, 31 Oct 2016 13:33:35 +0000 (13:33 +0000)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Wed, 7 Mar 2018 10:33:36 +0000 (10:33 +0000)
commit9bd467bf72854b613bb366e8adac75c9cfe883c3
tree49cf3ea60a7598789541becf25bdec6397f9eba2
parentf80e7c072fcac179b98dbbac8cc90dba68af9cf4
mem-cache: Make invalidate a common function between tag classes

invalidate was defined as a separate function in the base associative
and fully-associative tags classes although both functions should
implement identical functionality. This patch moves the invalidate
function in the base tags class.

Change-Id: I206ee969b00ab9e05873c6d87531474fcd712907
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/8286
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/blk.hh
src/mem/cache/tags/base.hh
src/mem/cache/tags/base_set_assoc.hh
src/mem/cache/tags/fa_lru.cc
src/mem/cache/tags/lru.hh
src/mem/cache/tags/random_repl.cc
src/mem/cache/tags/random_repl.hh