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: Laurent Amon
Subject: Re: [Qemu-devel] [PATCH] CONFIG_MMU_MAP powerpc host support
Date: Mon, 27 Dec 2004 17:06:36 +0100


On 25 déc. 04, at 14:48, Norikatsu Shigemura wrote:

On Sat, 25 Dec 2004 01:04:58 +0100
Laurent Amon <address@hidden> wrote:
On 20 dec. 04, 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.
Hi,
On a first try, it doesn't compile on OSX 10.3.7, with gcc version 3.3
20030304 (Apple Computer, Inc. build 1495). I'll try to look why
another time.

        Humm.. I think that 'struct ucontext' should be changed
        to 'ucontext_t'.  ucontext_t isn't necessarily struct
        ucontext.  But... I don't know how to fix following
        problem.

Actually, I just included sys/signal.h and I passed this hurdle.

However, I have a lot of assembly error when compiling op.c, and I suspect it may be caused by the asm code Magnus added in his ppc patch. I'm even more out of my depth than usual here. Magnus, for which PowerPC did you write the code? I have a 7410 G4(TiBook/400).

Using Norikatsu's extra patch gives exactly the same error, so I'll reverse-patch for now.

This is a excerpt of the errors I get :
/var/tmp//ccrclido.s:6176:Parameter syntax error (parameter 1)
/var/tmp//ccrclido.s:6176:Invalid mnemonic 'ha'
/var/tmp//ccrclido.s:6177:Parameter syntax error (parameter 1)
/var/tmp//ccrclido.s:6178:Parameter syntax error (parameter 1)
/var/tmp//ccrclido.s:6178:Invalid mnemonic 'l'
/var/tmp//ccrclido.s:6179:Parameter syntax error (parameter 1)
/var/tmp//ccrclido.s:6180:Parameter syntax error (parameter 3)
/var/tmp//ccrclido.s:6198:Parameter syntax error (parameter 1)
/var/tmp//ccrclido.s:6198:Invalid mnemonic 'ha'
/var/tmp//ccrclido.s:6199:Parameter syntax error (parameter 1)
/var/tmp//ccrclido.s:6200:Parameter syntax error (parameter 1)
/var/tmp//ccrclido.s:6200:Invalid mnemonic 'l'
/var/tmp//ccrclido.s:6201:Parameter syntax error (parameter 1)
/var/tmp//ccrclido.s:6202:Parameter syntax error (parameter 1)
/var/tmp//ccrclido.s:6203:Parameter syntax error (parameter 2)
[repeat...]

Season's Greetings,

Lga.





reply via email to

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