mem-cache: Use secure bit in findVictim
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Sat, 2 Jun 2018 13:04:49 +0000 (15:04 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Fri, 8 Jun 2018 09:37:23 +0000 (09:37 +0000)
commitfa44e21f2eb0ea1be035b2a14bd6ad6ada14375b
treef2b673c88d86ddf2740b060f9aca81429864a371
parentf89fe7049d3ae91835bf3c5da72462b60e35d095
mem-cache: Use secure bit in findVictim

Sector caches must know if there was a sector hit in order
to decide whether a victim's sector must be fully evicted
to give place to a new sector or not.

In order to do so it needs the tag and secure information.

Change-Id: Ib554169e25fa131d6bf986561f7970b787c56874
Reviewed-on: https://gem5-review.googlesource.com/10722
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/base.cc
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/fa_lru.hh