commit | 2938119f973b75fd102fe840898d6ca480ffaa56 | [log] [tgz] |
---|---|---|
author | Hoa Nguyen <hoanguyen@ucdavis.edu> | Sun May 01 21:14:49 2022 +0000 |
committer | Hoa Nguyen <hoanguyen@ucdavis.edu> | Tue May 03 17:09:05 2022 +0000 |
tree | 13121c444e04d2bbbf87301579dbf3649e8e5b13 | |
parent | 9c9b3a5e3d7dcd576dfaf0dda0e86b5c8ec4e109 [diff] |
arch-arm: Fix GenericTimer param name in BaseArmKvmCPU Per change [1], the new name for `int_virt` is `int_el1_virt`. [1] https://gem5-review.googlesource.com/c/public/gem5/+/58109 Change-Id: Idde4ac831c7a323b80272642e6a48b1c5e488135 Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/59309 Maintainer: Bobby Bruce <bbruce@ucdavis.edu> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
diff --git a/src/arch/arm/kvm/base_cpu.cc b/src/arch/arm/kvm/base_cpu.cc index f18d697..1c4dd16 100644 --- a/src/arch/arm/kvm/base_cpu.cc +++ b/src/arch/arm/kvm/base_cpu.cc
@@ -110,7 +110,7 @@ if (!vm->hasKernelIRQChip()) virtTimerPin = static_cast<ArmSystem *>(system)\ - ->getGenericTimer()->params().int_virt->get(tc); + ->getGenericTimer()->params().int_el1_virt->get(tc); } Tick