mem-cache: Create block insertion function
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Fri, 13 Apr 2018 15:12:36 +0000 (17:12 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Tue, 8 May 2018 21:46:21 +0000 (21:46 +0000)
commit0b0629cda6cbb4fdc1c1087c762c27c426e8a1c9
treedf68c654288b7bb55c496f84d71674d8d77b262b
parent376f1b2ff7034f4d084a087a68307b11042d2a9d
mem-cache: Create block insertion function

Create a block insertion function to be used when inserting
blocks. This resets the number of references to 1 (the
insertion is taken into account), sets the insertion tick,
and set secure state.

Change-Id: Ifc34cbbd1c125207ce47912d188809221c7a157e
Reviewed-on: https://gem5-review.googlesource.com/9824
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/blk.cc
src/mem/cache/blk.hh
src/mem/cache/cache.cc
src/mem/cache/tags/base.cc