From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhYmI-0003RS-3u for qemu-devel@nongnu.org; Tue, 06 May 2014 02:23:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhYmC-0005T7-4n for qemu-devel@nongnu.org; Tue, 06 May 2014 02:22:58 -0400 Received: from mail-qa0-x22d.google.com ([2607:f8b0:400d:c00::22d]:42891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhYmB-0005Sv-Vj for qemu-devel@nongnu.org; Tue, 06 May 2014 02:22:52 -0400 Received: by mail-qa0-f45.google.com with SMTP id hw13so7761079qab.4 for ; Mon, 05 May 2014 23:22:51 -0700 (PDT) From: "Edgar E. Iglesias" Date: Tue, 6 May 2014 16:08:25 +1000 Message-Id: <1399356506-5609-22-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 21/22] target-arm: A64: Register VBAR_EL2 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target-arm/helper.c b/target-arm/helper.c index 2406058..6e3f5fa 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -2088,6 +2088,11 @@ static const ARMCPRegInfo v8_el2_cp_reginfo[] = { .type = ARM_CP_NO_MIGRATE, .opc0 = 3, .opc1 = 4, .crn = 4, .crm = 0, .opc2 = 0, .access = PL2_RW, .fieldoffset = offsetof(CPUARMState, banked_spsr[6]) }, + { .name = "VBAR_EL2", .state = ARM_CP_STATE_AA64, + .opc0 = 3, .opc1 = 4, .crn = 12, .crm = 0, .opc2 = 0, + .access = PL2_RW, .writefn = vbar_write, + .fieldoffset = offsetof(CPUARMState, cp15.vbar_el[1]), + .resetvalue = 0 }, REGINFO_SENTINEL }; -- 1.8.3.2