cpu: Turn the stage 2 ARM MMUs from params to children.
authorGabe Black <gabeblack@google.com>
Wed, 16 Oct 2019 04:20:39 +0000 (21:20 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 18 Oct 2019 21:51:53 +0000 (21:51 +0000)
commit52d06fd655d36ac4a8ae09934e091cf2bacf578f
treefc2c6c2b5fa6ab309c7611caa44354edded33294
parentc75d185d8ada4345ac3323b6603fedc4a79c94cc
cpu: Turn the stage 2 ARM MMUs from params to children.

These aren't referred to in the C++, so there's no reason for them to
be parameters. By making them children, they can still be modified,
replaced wholesale, or even replaced by an entirely different object
to, for instance, mask them when they're not needed.

Change-Id: Ic7f144a3cd3d1fca12fec220918aa72af885f61c
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21839
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/BaseCPU.py