qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 02/18] ppc_prep: convert to memory API


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH 02/18] ppc_prep: convert to memory API
Date: Thu, 05 Jan 2012 16:32:15 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111220 Thunderbird/9.0

Am 05.01.2012 15:57, schrieb Avi Kivity:
> On 01/05/2012 04:45 PM, Andreas Färber wrote:
>> Am 17.10.2011 16:02, schrieb Avi Kivity:
>>> Signed-off-by: Avi Kivity <address@hidden>
>>
>> This one originally broke the prep machine:
>>
> 
> Instructions on how to reproduce, please.

ppc-softmmu/qemu-system-ppc -M prep

plus by now:

diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 2d67d1f..e3fe023 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -66,7 +66,7 @@
 #define TARGET_PAGE_BITS 12
 #endif /* defined(TARGET_PPCEMB) */

-#define TARGET_PHYS_ADDR_SPACE_BITS 36
+#define TARGET_PHYS_ADDR_SPACE_BITS 32
 #define TARGET_VIRT_ADDR_SPACE_BITS 32

 #endif /* defined (TARGET_PPC64) */


My current theory is that bios_addr and bios_size are insufficient for
the MemoryRegion - binary ppc_rom.bin is 524.3 KB only and may be trying
to relocate parts of itself to the exception vectors, so we may need to
use a fixed size of 1 MB and location 0xfff00000 for the MemoryRegion.
Checking...

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg



reply via email to

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