diff --git a/linux-user/main.c b/linux-user/main.c index f6c4c8d7a30b9b6dcbda37ee5024bc9182020fea..9ade1bfabd8fa3e9dbb1072012f42264761d0f3b 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -57,7 +57,12 @@ int have_guest_base; * This way we will never overlap with our own libraries or binaries or stack * or anything else that QEMU maps. */ +# ifdef TARGET_MIPS +/* MIPS only supports 31 bits of virtual address space for user space */ +unsigned long reserved_va = 0x77000000; +# else unsigned long reserved_va = 0xf7000000; +# endif #else unsigned long reserved_va; #endif