]> git.proxmox.com Git - qemu.git/commitdiff
PPC: Bump qemu-system-ppc to 64-bit physical address space
authorAlexander Graf <agraf@suse.de>
Mon, 17 Oct 2011 23:46:08 +0000 (01:46 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 30 Oct 2011 19:03:17 +0000 (20:03 +0100)
Some 32-bit PPC CPUs can use up to 36 bit of physical address space.
Treat them accordingly in the qemu-system-ppc binary type.

Signed-off-by: Alexander Graf <agraf@suse.de>
configure
target-ppc/cpu.h

index 4f87e0a43ba114266d321d4c9702a9f3b79f6625..f8dd4db6c57cb18a1ab1f1326970c454dce88f0a 100755 (executable)
--- a/configure
+++ b/configure
@@ -3309,7 +3309,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"
   ;;
index 8e5c85c28efd5ca6af6234b20b275c72b3363525..f36f375596cf5d0a6f106f68b3906def133042bd 100644 (file)
@@ -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) */