mem-cache: Allow prefetchers to override setCache.
authorXiaoyu Ma <xiaoyuma@google.com>
Wed, 17 Jan 2018 23:08:06 +0000 (15:08 -0800)
committerGabe Black <gabeblack@google.com>
Wed, 7 Mar 2018 00:13:39 +0000 (00:13 +0000)
commitf80e7c072fcac179b98dbbac8cc90dba68af9cf4
tree81d5e5bcc95bf8911aefdcd5a3c708fdf953a185
parent659900aedd1b4fc69b61b5dbaee39dba26848637
mem-cache: Allow prefetchers to override setCache.

This lets them hook setCache, perhaps to set up additional state based
on the set cache.

Change-Id: Ic3b34fa43d052c71e8ef733a57fe47c70899cd27
Reviewed-on: https://gem5-review.googlesource.com/8701
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/mem/cache/prefetch/base.hh