From: Aurelien Jarno Date: Sat, 13 Mar 2010 00:39:17 +0000 (+0100) Subject: target-mips: update address space definitions X-Git-Tag: v0.13.0-rc0~1114 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=30724e758a21ba9f807efafe268626bd479db9de;p=thirdparty%2Fqemu.git target-mips: update address space definitions Signed-off-by: Aurelien Jarno --- diff --git a/target-mips/mips-defs.h b/target-mips/mips-defs.h index 0f6a9562ab0..c57de02eaad 100644 --- a/target-mips/mips-defs.h +++ b/target-mips/mips-defs.h @@ -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