From patchwork Tue May 6 06:08:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 346040 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 76F9F1412E6 for ; Tue, 6 May 2014 16:24:10 +1000 (EST) Received: from localhost ([::1]:33183 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhYnQ-00058J-4l for incoming@patchwork.ozlabs.org; Tue, 06 May 2014 02:24:08 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=oHwkqYHdsHerFK1mCVscq+5zmeupSbHG8pD3UrJADf8=; b=C5r0gnLB2qkMn5jPs2sk8dnqTi/FWtIjVz3Wl0AoJyDMP8cCJUjHRX18neQQbvojHZ TJnTOVbDjU47ip29VheA6Ead+sGCHxcmCtUuGCpvxrU/4DNtCuoxxtKyrPaWgMcYUFQy rFIiHq8t/iQX5Qp436VqGPOohPCr+yMe+Hm/vUTy36mRfJSlROKQr1LB04aDCQtL4GFo UFarKy8DI8pxgLbFfT9hRfSxbuKAEQhJapG320AU2XCQzoqEsky9UuB9qfUH2E6VetU3 YqZF70OanuZHtfqR+WPpLQF+NOkoH11KMYLtzzOXIGbqhM+Cp5Ftw6LrkOj4KIuiXbeh Ykxg== X-Received: by 10.140.50.230 with SMTP id s93mr47520354qga.33.1399357371661; Mon, 05 May 2014 23:22:51 -0700 (PDT) Received: from localhost ([203.126.243.116]) by mx.google.com with ESMTPSA id d89sm10341035qga.2.2014.05.05.23.22.47 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 05 May 2014 23:22:50 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, peter.maydell@linaro.org Date: Tue, 6 May 2014 16:08:25 +1000 Message-Id: <1399356506-5609-22-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1399356506-5609-1-git-send-email-edgar.iglesias@gmail.com> References: <1399356506-5609-1-git-send-email-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c00::22d Cc: rob.herring@linaro.org, peter.crosthwaite@xilinx.com, john.williams@xilinx.com, alex.bennee@linaro.org, agraf@suse.de Subject: [Qemu-devel] [PATCH v1 21/22] target-arm: A64: Register VBAR_EL2 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 };