summaryrefslogtreecommitdiff
path: root/src/mem/cache/tags/base_set_assoc.hh
diff options
context:
space:
mode:
authorDaniel R. Carvalho <odanrc@yahoo.com.br>2018-03-22 11:24:54 +0100
committerDaniel Carvalho <odanrc@yahoo.com.br>2018-03-30 18:41:11 +0000
commit83f88cd1c0f27adb4704b374541bd6aff7e3e3fb (patch)
tree4b5d8d06db378112ce6df181363052350969e575 /src/mem/cache/tags/base_set_assoc.hh
parentc2d03ba24f52aec96bf569309a59022e0d4e3c21 (diff)
downloadgem5-83f88cd1c0f27adb4704b374541bd6aff7e3e3fb.tar.xz
mem-cache: Fix FALRU data block seg fault
FALRU didn't initialize the blocks' data, causing seg faults. This patch does not make FALRU functional yet. Change-Id: I10cbcf5afc3f8bc357eeb8b7cb46789dec47ba8b Reviewed-on: https://gem5-review.googlesource.com/9302 Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src/mem/cache/tags/base_set_assoc.hh')
-rw-r--r--src/mem/cache/tags/base_set_assoc.hh3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mem/cache/tags/base_set_assoc.hh b/src/mem/cache/tags/base_set_assoc.hh
index f7b386a92..3bc275b28 100644
--- a/src/mem/cache/tags/base_set_assoc.hh
+++ b/src/mem/cache/tags/base_set_assoc.hh
@@ -76,7 +76,6 @@ class BaseSetAssoc : public BaseTags
/** Typedef the set type used in this tag store. */
typedef CacheSet<CacheBlk> SetType;
-
protected:
/** The associativity of the cache. */
const unsigned assoc;
@@ -85,8 +84,6 @@ class BaseSetAssoc : public BaseTags
/** The cache blocks. */
std::vector<BlkType> blks;
- /** The data blocks, 1 per cache block. */
- std::unique_ptr<uint8_t[]> dataBlks;
/** The number of sets in the cache. */
const unsigned numSets;