From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NqpKo-0008CE-L6 for qemu-devel@nongnu.org; Sun, 14 Mar 2010 11:02:30 -0400 Received: from [199.232.76.173] (port=39307 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NqpKo-0008C4-4c for qemu-devel@nongnu.org; Sun, 14 Mar 2010 11:02:30 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NqpKn-0006Vb-BU for qemu-devel@nongnu.org; Sun, 14 Mar 2010 11:02:29 -0400 Received: from mx20.gnu.org ([199.232.41.8]:20244) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NqpKn-0006VX-5I for qemu-devel@nongnu.org; Sun, 14 Mar 2010 11:02:29 -0400 Received: from mail.codesourcery.com ([38.113.113.100]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NqpKm-00015l-Dp for qemu-devel@nongnu.org; Sun, 14 Mar 2010 11:02:28 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH 5/6] Implement multi-level page tables. Date: Sun, 14 Mar 2010 15:02:11 +0000 References: <463ebb8d6c9bd5b65a804785002929eb9c98a321.1268265556.git.rth@twiddle.net> <4B9C1623.7030106@mail.berlios.de> In-Reply-To: <4B9C1623.7030106@mail.berlios.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201003141502.12460.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Richard Henderson > Richard Henderson schrieb: > > Define L1_MAP_ADDR_SPACE_BITS to be either the virtual address size > > (in user mode) or physical address size (in system mode), and use > > that to size l1_map. This rewrites page_find_alloc, page_flush_tb, > > and walk_memory_regions. > > > > Use TARGET_PHYS_ADDR_SPACE_BITS for the physical memory map based > > off of l1_phys_map. This rewrites page_phys_find_alloc and > > phys_page_for_each. > > > > Signed-off-by: Richard Henderson > > --- > > cpu-all.h | 7 +- > > exec.c | 451 > > +++++++++++++++++++++++++++++++++++++------------------------ 2 files > > changed, 278 insertions(+), 180 deletions(-) > > This patch breaks remote debugging (QEMU crash). Probably nothing to do with debugging. Should be fixed by 7296abaccc98872e28cec50091dbf26d38e4f062 Paul