qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] CONFIG_MMU_MAP powerpc host support


From: Daniel Egger
Subject: Re: [Qemu-devel] [PATCH] CONFIG_MMU_MAP powerpc host support
Date: Sun, 2 Jan 2005 19:26:04 +0100

On 20.12.2004, at 18:55, Magnus Damm wrote:

This patch adds powerpc host support to the CONFIG_MMU_MAP patch
written by Piotrek. My patch should be applied on top of
v1-part[1-3].patch.gz. I have only tested the code with a x86 guest on
a ppc host running Linux - someone, please test on a host running OSX.

Segfaults for me on 10.3.7 after adjusting the assembler code and some
C to compile on this machine.

Starting program: /Users/egger/qemu/i386-softmmu/qemu -cdrom ~/Desktop/KNOPPIX_V3.7-2004-12-08-DE/KNOPPIX_V3.7-2004-12-08-DE.iso Reading symbols for shared libraries +.............................................................. done
Reading symbols for shared libraries . done
mmu: acceleration enabled

Program received signal EXC_BAD_ACCESS, Could not access memory.
0x002a3a48 in code_gen_buffer ()
(gdb) bt
#0  0x002a3a48 in code_gen_buffer ()
#1 0x00077be4 in cpu_x86_exec (env1=0xeae000) at /Users/egger/qemu/cpu-exec.c:545
#2  0x000067e8 in main_loop () at /Users/egger/qemu/vl.c:2581
#3 0x00008e38 in SDL_main (argc=3, argv=0xbffffad8) at /Users/egger/qemu/vl.c:3574 #4 0x000a78cc in -[SDLMain applicationDidFinishLaunching:] (self=0xeae000, _cmd=0x1c8f98a8, note=0xffffffff) at macosx/SDLMain.m:243
#5  0x909f7184 in _nsnote_callback ()
#6  0x901aa5c0 in __CFXNotificationPost ()

Hard to tell why, but code_gen_buffer contains only zeros after a
few iterations of cpu_x86_exec ().

Any idea how to debug this?

Servus,
      Daniel

Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

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