From: mupton Date: Tue, 8 Dec 2020 00:42:36 +0000 (-0800) Subject: arm,kvm: missed rename of MISCREG_HYP in kvm/armv8_cpu.cc X-Git-Tag: develop-gem5-snapshot~369 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7fba0fb207448d995af346f4f0b63cbc7365b165;p=gem5.git arm,kvm: missed rename of MISCREG_HYP in kvm/armv8_cpu.cc A recent checkin changed the names of some of the MISCREGs. One of them was missed and wont compile. This fixes to the new name. Change-Id: I746f9dea44bc50819a0d30f62dcc3a46380f80c2 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/38358 Reviewed-by: Nathanael Premillieu Reviewed-by: Giacomo Travaglini Maintainer: Giacomo Travaglini Tested-by: kokoro --- diff --git a/src/arch/arm/kvm/armv8_cpu.cc b/src/arch/arm/kvm/armv8_cpu.cc index 97790940d..54fa8b2cd 100644 --- a/src/arch/arm/kvm/armv8_cpu.cc +++ b/src/arch/arm/kvm/armv8_cpu.cc @@ -381,7 +381,7 @@ ArmV8KvmCPU::getSysRegMap() const const bool writeable( info[MISCREG_USR_NS_WR] || info[MISCREG_USR_S_WR] || info[MISCREG_PRI_S_WR] || info[MISCREG_PRI_NS_WR] || - info[MISCREG_HYP_WR] || + info[MISCREG_HYP_NS_WR] || info[MISCREG_MON_NS0_WR] || info[MISCREG_MON_NS1_WR]); const bool implemented( info[MISCREG_IMPLEMENTED] || info[MISCREG_WARN_NOT_FAIL]);