qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [RFC PATCH 13/34] mb: cpu: Change phys and virt address ran


From: Peter Crosthwaite
Subject: [Qemu-devel] [RFC PATCH 13/34] mb: cpu: Change phys and virt address ranges.
Date: Sun, 10 May 2015 23:29:16 -0700

Change the phys and virt address ranges of microblaze to match
aarch64. This allows for unification with aarch64 under multi-arch.

Signed-off-by: Peter Crosthwaite <address@hidden>
---
 target-microblaze/cpu.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target-microblaze/cpu.h b/target-microblaze/cpu.h
index eaeb82f..51a49f2 100644
--- a/target-microblaze/cpu.h
+++ b/target-microblaze/cpu.h
@@ -278,8 +278,8 @@ MicroBlazeCPU *cpu_mb_init(const char *cpu_model);
 /* FIXME: MB uses variable pages down to 1K but linux only uses 4k.  */
 #define TARGET_PAGE_BITS 12
 
-#define TARGET_PHYS_ADDR_SPACE_BITS 32
-#define TARGET_VIRT_ADDR_SPACE_BITS 32
+#define TARGET_PHYS_ADDR_SPACE_BITS 48
+#define TARGET_VIRT_ADDR_SPACE_BITS 64
 
 #define cpu_init(cpu_model) CPU(cpu_mb_init(cpu_model))
 
-- 
1.9.1




reply via email to

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