Received: from eggs.gnu.org ([2001:4830:134:3::10]:42555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIY5P-00084d-4t for qemu-devel@nongnu.org; Wed, 26 Feb 2014 01:35:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIY5J-0004po-6m for qemu-devel@nongnu.org; Wed, 26 Feb 2014 01:35:19 -0500 Received: from [222.73.24.84] (port=1224 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIY5H-0004oZ-SU for qemu-devel@nongnu.org; Wed, 26 Feb 2014 01:35:13 -0500 Date: Wed, 26 Feb 2014 14:33:08 +0800 From: Hu Tao Message-ID: <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> MIME-Version: 1.0 In-Reply-To: <1392480444-25565-13-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline 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: Peter Maydell Cc: Rob Herring , Peter Crosthwaite , Laurent Desnogues , patches@linaro.org, Michael Matz , qemu-devel@nongnu.org, Alexander Graf , Claudio Fontana , Dirk Mueller , Will Newton , Alex =?utf-8?Q?Benn=C3=A9e?= , kvmarm@lists.cs.columbia.edu, Christoffer Dall , Richard Henderson 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/ > uint64_t c2_control; /* MMU translation table base control. */ > uint32_t c2_mask; /* MMU translation table base selection mask. */ > uint32_t c2_base_mask; /* MMU translation table base 0 mask. */ <...>