arch,sim: Promote the m5ops_base param to the System base class.
authorGabe Black <gabeblack@google.com>
Tue, 26 Nov 2019 00:22:57 +0000 (16:22 -0800)
committerGabe Black <gabeblack@google.com>
Tue, 7 Jan 2020 23:31:51 +0000 (23:31 +0000)
commitf7903a2014ac06450c46dd12a4906fbd1ce82153
treea664e18d6712523ce45e5b8131db7f1cceeb7a0a
parent80c51fc6015420eace7eea3c82d9ddc7900da08c
arch,sim: Promote the m5ops_base param to the System base class.

This mechanism is shared between ARM and x86, even if x86 has a typical
address range it choses to use. By moving this to the base class, it's
now possible for anybody to find out where the m5 ops are, and no ISA
specific assumptions need to be made.

Because the x86 address is well known, it's set in the x86 System
subclass as the default.

Jira Issue: https://gem5.atlassian.net/browse/GEM5-187

Change-Id: Ifdb9f5cd1ce38b3c4dafa7566c50f245f14cf790
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23180
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/ArmSystem.py
src/arch/arm/system.cc
src/arch/arm/system.hh
src/sim/System.py
src/sim/system.cc
src/sim/system.hh