]> git.proxmox.com Git - qemu.git/commitdiff
target-mips: update address space definitions
authorAurelien Jarno <aurelien@aurel32.net>
Sat, 13 Mar 2010 00:39:17 +0000 (01:39 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 13 Mar 2010 10:35:55 +0000 (11:35 +0100)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-mips/mips-defs.h

index 0f6a9562ab008726508280e0d0486d24a1d83a89..c57de02eaad0823a88783aeda16f56cb97b1a924 100644 (file)
@@ -8,14 +8,14 @@
 #define TARGET_PAGE_BITS 12
 #define MIPS_TLB_MAX 128
 
-/* ??? MIPS64 no doubt has a larger address space.  */
-#define TARGET_PHYS_ADDR_SPACE_BITS 32
-#define TARGET_VIRT_ADDR_SPACE_BITS 32
-
 #if defined(TARGET_MIPS64)
 #define TARGET_LONG_BITS 64
+#define TARGET_PHYS_ADDR_SPACE_BITS 36
+#define TARGET_VIRT_ADDR_SPACE_BITS 42
 #else
 #define TARGET_LONG_BITS 32
+#define TARGET_PHYS_ADDR_SPACE_BITS 36
+#define TARGET_VIRT_ADDR_SPACE_BITS 32
 #endif
 
 /* Masks used to mark instructions to indicate which ISA level they