aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-10-18 01:46:08 +0200
committerAlexander Graf <agraf@suse.de>2011-10-30 20:03:17 +0100
commit8b242eba641a6106db2d3b0356687f8e7e08e568 (patch)
treed6313bf5172e909a72268bf6403d7117ff5a68b6
parent6b7a2cf6d93294a4e7c79fe101d31fc19d04fb48 (diff)
PPC: Bump qemu-system-ppc to 64-bit physical address space
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>
-rwxr-xr-xconfigure2
-rw-r--r--target-ppc/cpu.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 4f87e0a43b..f8dd4db6c5 100755
--- 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"
;;
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 8e5c85c28e..f36f375596 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) */