From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlJJa-0004W5-4s for qemu-devel@nongnu.org; Fri, 16 May 2014 10:40:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WlJJU-00048x-4w for qemu-devel@nongnu.org; Fri, 16 May 2014 10:40:49 -0400 Received: from mail-lb0-f176.google.com ([209.85.217.176]:52343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlJJT-00048l-Oi for qemu-devel@nongnu.org; Fri, 16 May 2014 10:40:44 -0400 Received: by mail-lb0-f176.google.com with SMTP id p9so1991487lbv.21 for ; Fri, 16 May 2014 07:40:42 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1399356506-5609-20-git-send-email-edgar.iglesias@gmail.com> References: <1399356506-5609-1-git-send-email-edgar.iglesias@gmail.com> <1399356506-5609-20-git-send-email-edgar.iglesias@gmail.com> From: Peter Maydell Date: Fri, 16 May 2014 15:40:22 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH v1 19/22] target-arm: Add storage for VBAR_EL2 and 3 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Edgar E. Iglesias" Cc: Rob Herring , Peter Crosthwaite , QEMU Developers , Alexander Graf , John Williams , =?UTF-8?B?QWxleCBCZW5uw6ll?= On 6 May 2014 07:08, Edgar E. Iglesias wrote: > From: "Edgar E. Iglesias" > > Signed-off-by: Edgar E. Iglesias > --- > target-arm/cpu.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/target-arm/cpu.h b/target-arm/cpu.h > index 34e8f7c..88dfdcb 100644 > --- a/target-arm/cpu.h > +++ b/target-arm/cpu.h > @@ -201,7 +201,7 @@ typedef struct CPUARMState { > uint32_t c9_pminten; /* perf monitor interrupt enables */ > uint64_t mair_el1; > #define VBAR_EL_IDX(x) (x - 1) > - uint64_t vbar_el[1]; /* vector base address register */ > + uint64_t vbar_el[3]; /* vector base address register */ > uint32_t c13_fcse; /* FCSE PID. */ > uint64_t contextidr_el1; /* Context ID. */ > uint64_t tpidr_el0; /* User RW Thread register. */ > -- > 1.8.3.2 You should just fold this into whichever patch causes us to start actually accessing vbar_el[] for other ELs. thanks -- PMM