From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NqZzl-0005B5-2K for qemu-devel@nongnu.org; Sat, 13 Mar 2010 17:39:45 -0500 Received: from [199.232.76.173] (port=41835 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NqZzk-0005Ah-6C for qemu-devel@nongnu.org; Sat, 13 Mar 2010 17:39:44 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NqZzi-0002JM-KM for qemu-devel@nongnu.org; Sat, 13 Mar 2010 17:39:43 -0500 Received: from mx20.gnu.org ([199.232.41.8]:9756) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NqZzh-0002Ig-VW for qemu-devel@nongnu.org; Sat, 13 Mar 2010 17:39:42 -0500 Received: from moutng.kundenserver.de ([212.227.17.10]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NqZza-0006OO-Rc for qemu-devel@nongnu.org; Sat, 13 Mar 2010 17:39:35 -0500 From: Stefan Weil Date: Sat, 13 Mar 2010 23:36:20 +0100 Message-Id: <1268519780-6607-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH] target-mips: Fix 32 bit mode (wrong size of physical addresses) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Cc: aurelien@aurel32.net Commit 30724e758a21ba9f807efafe268626bd479db9de breaks malta (and other) mips 32 bit emulation. Fixing the physical address size for 32 bit machines makes it work again. Signed-off-by: Stefan Weil --- target-mips/mips-defs.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-mips/mips-defs.h b/target-mips/mips-defs.h index c57de02..dc1ac80 100644 --- a/target-mips/mips-defs.h +++ b/target-mips/mips-defs.h @@ -14,7 +14,7 @@ #define TARGET_VIRT_ADDR_SPACE_BITS 42 #else #define TARGET_LONG_BITS 32 -#define TARGET_PHYS_ADDR_SPACE_BITS 36 +#define TARGET_PHYS_ADDR_SPACE_BITS 32 #define TARGET_VIRT_ADDR_SPACE_BITS 32 #endif -- 1.7.0