arch-arm: Remove m5ops_base declaration from ArmSystem
authorHsuan Hsu <hsuan.hsu@mediatek.com>
Fri, 3 Jul 2020 01:41:03 +0000 (09:41 +0800)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Sat, 4 Jul 2020 03:32:53 +0000 (03:32 +0000)
commitc00e0fc0b595de05365e1cedde75ac22137230ef
treee14a42cbde7f9384b3ac66af48379850f85ef190
parent96fce476785a834f102ae69a895e661cf08e47cd
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 <hsuan.hsu@mediatek.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30914
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
(cherry picked from commit e3793fd8a9b7096a67a0f4260a36cd4dd5afe72f)
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30955
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Reviewed-by: Hsuan Hsu <kugwa2000@gmail.com>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
src/arch/arm/ArmSystem.py