From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhYlf-0002ir-3R for qemu-devel@nongnu.org; Tue, 06 May 2014 02:22:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhYlZ-0005HX-0c for qemu-devel@nongnu.org; Tue, 06 May 2014 02:22:19 -0400 Received: from mail-qa0-x235.google.com ([2607:f8b0:400d:c00::235]:36935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhYlY-0005HP-RP for qemu-devel@nongnu.org; Tue, 06 May 2014 02:22:12 -0400 Received: by mail-qa0-f53.google.com with SMTP id ih12so4168129qab.12 for ; Mon, 05 May 2014 23:22:12 -0700 (PDT) From: "Edgar E. Iglesias" Date: Tue, 6 May 2014 16:08:24 +1000 Message-Id: <1399356506-5609-21-git-send-email-edgar.iglesias@gmail.com> In-Reply-To: <1399356506-5609-1-git-send-email-edgar.iglesias@gmail.com> References: <1399356506-5609-1-git-send-email-edgar.iglesias@gmail.com> Subject: [Qemu-devel] [PATCH v1 20/22] target-arm: Make vbar_write writeback to any CPREG List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, peter.maydell@linaro.org Cc: rob.herring@linaro.org, peter.crosthwaite@xilinx.com, john.williams@xilinx.com, alex.bennee@linaro.org, agraf@suse.de From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- target-arm/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-arm/helper.c b/target-arm/helper.c index 65daeaf..2406058 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -657,7 +657,7 @@ static void vbar_write(CPUARMState *env, const ARMCPRegInfo *ri, * contexts. (ARMv8 would permit us to do no masking at all, but ARMv7 * requires the bottom five bits to be RAZ/WI because they're UNK/SBZP.) */ - env->cp15.vbar_el[VBAR_EL_IDX(1)] = value & ~0x1FULL; + CPREG_FIELD64(env, ri) = value & ~0x1FULL; } static uint64_t ccsidr_read(CPUARMState *env, const ARMCPRegInfo *ri) -- 1.8.3.2