qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] target-mips: Fix 32 bit mode (wrong size of physica


From: Stefan Weil
Subject: [Qemu-devel] [PATCH] target-mips: Fix 32 bit mode (wrong size of physical addresses)
Date: Sat, 13 Mar 2010 23:36:20 +0100

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 <address@hidden>
---
 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]