mem-cache: Fix PIF prefetcher compilation error with NULL ISA
authorJavier Bueno <javier.bueno@metempsy.com>
Tue, 2 Apr 2019 21:29:42 +0000 (23:29 +0200)
committerJavier Bueno Hedo <javier.bueno@metempsy.com>
Wed, 3 Apr 2019 09:20:28 +0000 (09:20 +0000)
commit5caa4517345d4833af44e510f78717ee7e0ad8d4
tree78a26c95e2516f30d9b18b0f5d1a7c6b36e3c98c
parentf662b8aaacba60632e69da11cf7fc0deba958604
mem-cache: Fix PIF prefetcher compilation error with NULL ISA

Referencing BaseCPU is causing a compilation error when using the NULL ISA.
This patch changes the reference to a SimObject, which fixes the problem.

Change-Id: I2530486cab65974f5b83e54a733c4b0e98730d26
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17731
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/prefetch/Prefetcher.py