Received: from eggs.gnu.org ([2001:4830:134:3::10]:57753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhYmv-0004Ja-Qb for qemu-devel@nongnu.org; Tue, 06 May 2014 02:23:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhYmp-0005f8-Rz for qemu-devel@nongnu.org; Tue, 06 May 2014 02:23:37 -0400 Received: from mail-qg0-x22d.google.com ([2607:f8b0:400d:c04::22d]:55351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhYmp-0005ew-Nd for qemu-devel@nongnu.org; Tue, 06 May 2014 02:23:31 -0400 Received: by mail-qg0-f45.google.com with SMTP id z60so3044750qgd.32 for ; Mon, 05 May 2014 23:23:31 -0700 (PDT) From: "Edgar E. Iglesias" Date: Tue, 6 May 2014 16:08:26 +1000 Message-Id: <1399356506-5609-23-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 22/22] target-arm: A64: Register VBAR_EL3 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 6e3f5fa..b6dac25 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -2106,6 +2106,11 @@ static const ARMCPRegInfo v8_el3_cp_reginfo[] = { .type = ARM_CP_NO_MIGRATE, .opc0 = 3, .opc1 = 6, .crn = 4, .crm = 0, .opc2 = 0, .access = PL3_RW, .fieldoffset = offsetof(CPUARMState, banked_spsr[7]) }, + { .name = "VBAR_EL3", .state = ARM_CP_STATE_AA64, + .opc0 = 3, .opc1 = 6, .crn = 12, .crm = 0, .opc2 = 0, + .access = PL3_RW, .writefn = vbar_write, + .fieldoffset = offsetof(CPUARMState, cp15.vbar_el[2]), + .resetvalue = 0 }, REGINFO_SENTINEL }; -- 1.8.3.2