From: Hsuan Hsu Date: Fri, 3 Jul 2020 01:41:03 +0000 (+0800) Subject: arch-arm: Remove m5ops_base declaration from ArmSystem X-Git-Tag: v20.0.0.3~1 X-Git-Url: https://git.libre-soc.org/?p=gem5.git;a=commitdiff_plain;h=c00e0fc0b595de05365e1cedde75ac22137230ef arch-arm: Remove m5ops_base declaration from ArmSystem This declaration should have been removed but was accidentally re-added. It keeps m5ops_base from being passed correctly from Python to C++ when using ARM ISA, and hence triggers gem5 crash when the guest tries to call m5ops. This change removes it again to fix the crash. JIRA: https://gem5.atlassian.net/browse/GEM5-658 Change-Id: I8df4ff19ecc0d64255f24dc991f71b065d2a894e Signed-off-by: Hsuan Hsu Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30914 Reviewed-by: Gabe Black Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg Tested-by: kokoro (cherry picked from commit e3793fd8a9b7096a67a0f4260a36cd4dd5afe72f) Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30955 Reviewed-by: Bobby R. Bruce Reviewed-by: Hsuan Hsu Maintainer: Bobby R. Bruce --- diff --git a/src/arch/arm/ArmSystem.py b/src/arch/arm/ArmSystem.py index 6555ea92e..c4cc51fbf 100644 --- a/src/arch/arm/ArmSystem.py +++ b/src/arch/arm/ArmSystem.py @@ -79,10 +79,6 @@ class ArmSystem(System): semihosting = Param.ArmSemihosting(NULL, "Enable support for the Arm semihosting by settings this parameter") - m5ops_base = Param.Addr(0, - "Base of the 64KiB PA range used for memory-mapped m5ops. Set to 0 " - "to disable.") - # Set to true if simulation provides a PSCI implementation # This flag will be checked when auto-generating # a PSCI node. A client (e.g Linux) would then be able to