From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsQiN-0001iL-PU for qemu-devel@nongnu.org; Wed, 13 May 2015 03:04:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsQiI-0003Zo-7w for qemu-devel@nongnu.org; Wed, 13 May 2015 03:04:23 -0400 Received: from mail-qc0-x231.google.com ([2607:f8b0:400d:c01::231]:33153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsQiI-0003Zg-4E for qemu-devel@nongnu.org; Wed, 13 May 2015 03:04:18 -0400 Received: by qcvo8 with SMTP id o8so17846076qcv.0 for ; Wed, 13 May 2015 00:04:17 -0700 (PDT) From: "Edgar E. Iglesias" Date: Wed, 13 May 2015 16:52:38 +1000 Message-Id: <1431499963-1019-14-git-send-email-edgar.iglesias@gmail.com> In-Reply-To: <1431499963-1019-1-git-send-email-edgar.iglesias@gmail.com> References: <1431499963-1019-1-git-send-email-edgar.iglesias@gmail.com> Subject: [Qemu-devel] [PATCH v1 13/18] target-arm: Add access to PAR_EL1 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, peter.maydell@linaro.org Cc: edgar.iglesias@xilinx.com, serge.fdrv@gmail.com, alex.bennee@linaro.org, agraf@suse.de, greg.bellows@linaro.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 7ad9133..5b7c195 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -2436,6 +2436,11 @@ static const ARMCPRegInfo v8_cp_reginfo[] = { { .name = "AT_S1E0W", .state = ARM_CP_STATE_AA64, .opc0 = 1, .opc1 = 0, .crn = 7, .crm = 8, .opc2 = 3, .access = PL1_W, .type = ARM_CP_NO_RAW, .writefn = ats_write64 }, + { .name = "PAR_EL1", .state = ARM_CP_STATE_AA64, + .opc0 = 3, .opc1 = 0, .crn = 7, .crm = 4, .opc2 = 0, + .access = PL1_RW, .resetvalue = 0, + .fieldoffset = offsetof(CPUARMState, cp15.par_el[1]), + .writefn = par_write }, #endif /* TLB invalidate last level of translation table walk */ { .name = "TLBIMVALIS", .cp = 15, .opc1 = 0, .crn = 8, .crm = 3, .opc2 = 5, -- 1.9.1