From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIb9A-0001RQ-NA for qemu-devel@nongnu.org; Wed, 26 Feb 2014 04:51:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIb96-0006Z4-12 for qemu-devel@nongnu.org; Wed, 26 Feb 2014 04:51:24 -0500 Received: from mail-la0-f52.google.com ([209.85.215.52]:55051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIb95-0006Yx-Pi for qemu-devel@nongnu.org; Wed, 26 Feb 2014 04:51:19 -0500 Received: by mail-la0-f52.google.com with SMTP id c6so430716lan.25 for ; Wed, 26 Feb 2014 01:51:18 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20140226063308.GC5090@G08FNSTD100614.fnst.cn.fujitsu.com> References: <1392480444-25565-1-git-send-email-peter.maydell@linaro.org> <1392480444-25565-13-git-send-email-peter.maydell@linaro.org> <20140226063308.GC5090@G08FNSTD100614.fnst.cn.fujitsu.com> From: Peter Maydell Date: Wed, 26 Feb 2014 09:50:58 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH v3 12/31] target-arm: Implement AArch64 TTBR* List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hu Tao Cc: Rob Herring , Peter Crosthwaite , Laurent Desnogues , Patch Tracking , Michael Matz , QEMU Developers , Alexander Graf , Claudio Fontana , Dirk Mueller , Will Newton , =?UTF-8?B?QWxleCBCZW5uw6ll?= , "kvmarm@lists.cs.columbia.edu" , Christoffer Dall , Richard Henderson On 26 February 2014 06:33, Hu Tao wrote: > On Sat, Feb 15, 2014 at 04:07:05PM +0000, Peter Maydell wrote: > > <...> > >> diff --git a/target-arm/cpu.h b/target-arm/cpu.h >> index 06953ac..7cbe69b 100644 >> --- a/target-arm/cpu.h >> +++ b/target-arm/cpu.h >> @@ -173,10 +173,8 @@ typedef struct CPUARMState { >> uint32_t c1_coproc; /* Coprocessor access register. */ >> uint32_t c1_xscaleauxcr; /* XScale auxiliary control register. */ >> uint32_t c1_scr; /* secure config register. */ >> - uint32_t c2_base0; /* MMU translation table base 0. */ >> - uint32_t c2_base0_hi; /* MMU translation table base 0, high 32 bits */ >> - uint32_t c2_base1; /* MMU translation table base 0. */ >> - uint32_t c2_base1_hi; /* MMU translation table base 1, high 32 bits */ >> + uint64_t ttbr0_el1; /* MMU translation table base 0. */ >> + uint32_t ttbr1_el1; /* MMU translation table base 1. */ > > s/32/64/ Nice catch, not sure how I missed that. thanks -- PMM