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: Norikatsu Shigemura
Subject: Re: [Qemu-devel] [PATCH] CONFIG_MMU_MAP powerpc host support
Date: Sat, 25 Dec 2004 22:48:38 +0900 (JST)

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.

> /Users/lamon/src/qemustuff/qemu-snapshot-2004-12-22_23/target-i386/ 
> op.c:22:
> /usr/include/sys/ucontext.h:30: error: parse error before "sigset_t"
> /usr/include/sys/ucontext.h:35: error: parse error before '}' token
> /usr/include/sys/ucontext.h:42: error: parse error before "sigset_t"
> /usr/include/sys/ucontext.h:47: error: parse error before '}' token


        I have a patch for FreeBSD support.  But CONFIG_MMUMAP doesn't
        works..  Anyone, please debug it.

        ports style:
        http://people.FreeBSD.org/~nork/qemu/qemu.20041223.port.tar.gz

        v1-part[1-3].patch.gz + qemu-mmap_20041217-ppc.patch
         + following patch:
        http://people.FreeBSD.org/~nork/qemu/extra-patch-v1-partFIX

P.S.
  I think that 'struct siginfo' shuould be changed to 'siginfo_t', too...




reply via email to

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