From: Matthew Poremba Date: Thu, 24 Sep 2020 18:10:04 +0000 (-0500) Subject: configs: Set kvm_map in DRAMInterface in Ruby.py X-Git-Tag: v20.1.0.0~16 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=873ceaded5d05116d4f8589f604b03520c906231;p=gem5.git configs: Set kvm_map in DRAMInterface in Ruby.py The kvm_map parameter from AbstractMemory has been moved from MemCtrl (formerly DRAMCtrl) to DRAMInterface. Assign it to DRAMInterface instead. Change-Id: I4508aefcf5eb859d9ffe05c81d85a1b84ee0a196 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/35095 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- diff --git a/configs/ruby/Ruby.py b/configs/ruby/Ruby.py index 622771aa1..86d5748e8 100644 --- a/configs/ruby/Ruby.py +++ b/configs/ruby/Ruby.py @@ -136,7 +136,7 @@ def setup_memory_controllers(system, ruby, dir_cntrls, options): mem_ctrl = m5.objects.MemCtrl(dram = dram_intf) if options.access_backing_store: - mem_ctrl.kvm_map=False + dram_intf.kvm_map=False mem_ctrls.append(mem_ctrl) dir_ranges.append(mem_ctrl.dram.range)