Received: from eggs.gnu.org ([140.186.70.92]:50289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFwuV-0000aO-KE for qemu-devel@nongnu.org; Mon, 17 Oct 2011 19:48:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RFwuU-0007Lk-MB for qemu-devel@nongnu.org; Mon, 17 Oct 2011 19:47:59 -0400 From: Alexander Graf Date: Tue, 18 Oct 2011 01:52:25 +0200 Message-Id: <1318895545-24861-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH] PPC: Bump qemu-system-ppc to 64-bit physical address space List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org Some 32-bit PPC CPUs can use up to 36 bit of physicall address space. Treat them accordingly in the qemu-system-ppc binary type. Signed-off-by: Alexander Graf --- configure | 2 +- target-ppc/cpu.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 9b4fe34..3bdb556 100755 --- a/configure +++ b/configure @@ -3276,7 +3276,7 @@ case "$target_arch2" in ;; ppc) gdb_xml_files="power-core.xml power-fpu.xml power-altivec.xml power-spe.xml" - target_phys_bits=32 + target_phys_bits=64 target_nptl="yes" target_libs_softmmu="$fdt_libs" ;; diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index 8e5c85c..f36f375 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -66,7 +66,7 @@ #define TARGET_PAGE_BITS 12 #endif /* defined(TARGET_PPCEMB) */ -#define TARGET_PHYS_ADDR_SPACE_BITS 32 +#define TARGET_PHYS_ADDR_SPACE_BITS 36 #define TARGET_VIRT_ADDR_SPACE_BITS 32 #endif /* defined (TARGET_PPC64) */ -- 1.6.0.2