Re: [Qemu-devel] [PATCH] darwin-user merge attempt - patch v3

2007-01-18 Thread Pierre d'Herbemont


On 17 janv. 07, at 23:13, Thiemo Seufer wrote:

I figure it needs some more work to keep the Linux build happy.


Oh sorry! Here goes the fix:


darwin_user.3.diff.txt.gz
Description: GNU Zip compressed data


Thanks for the report,

Pierre.___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] [PATCH] darwin-user merge attempt - patch v2

2007-01-17 Thread Thiemo Seufer
Pierre d'Herbemont wrote:
> Here is an updated version of the patch:
> 
> It mostly fix i386-darwin-user on ppc which was broken in previous  
> patch.
[snip]
> >I hope to ear some feedback about inclusion in the qemu TOT.

make -C i386-linux-user all
make[1]: Entering directory `/home/ths/qemu/qemu-write/i386-linux-user'
gcc-3.4 -Wall -O2 -g -fno-strict-aliasing -I. -I.. 
-I/home/ths/qemu/qemu-write/target-i386 -I/home/ths/qemu/qemu-write 
-D__powerpc__ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-I/home/ths/qemu/qemu-write/fpu -DHAS_AUDIO -I/home/ths/qemu/qemu-write/slirp  
-c -o main.o /home/ths/qemu/qemu-write/darwin-user/main.c
/home/ths/qemu/qemu-write/darwin-user/main.c:40:28: mach/mach_init.h: No such 
file or directory
/home/ths/qemu/qemu-write/darwin-user/main.c:41:25: mach/vm_map.h: No such file 
or directory
/home/ths/qemu/qemu-write/darwin-user/main.c:482: warning: return type defaults 
to `int'
/home/ths/qemu/qemu-write/darwin-user/main.c: In function `cpu_loop':
/home/ths/qemu/qemu-write/darwin-user/main.c:555: error: `BUS_NOOP' undeclared 
(first use in this function)
/home/ths/qemu/qemu-write/darwin-user/main.c:555: error: (Each undeclared 
identifier is reported only once
/home/ths/qemu/qemu-write/darwin-user/main.c:555: error: for each function it 
appears in.)
/home/ths/qemu/qemu-write/darwin-user/main.c:563: error: `SEGV_NOOP' undeclared 
(first use in this function)
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/ths/qemu/qemu-write/i386-linux-user'
make: *** [subdir-i386-linux-user] Error 2

I figure it needs some more work to keep the Linux build happy.


Thiemo


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] [PATCH] darwin-user merge attempt - patch v2

2007-01-16 Thread Pierre d'Herbemont

Here is an updated version of the patch:



darwin_user.2.diff.txt.gz
Description: GNU Zip compressed data


It mostly fix i386-darwin-user on ppc which was broken in previous  
patch.


Pierre.

On 12 janv. 07, at 07:44, Pierre d'Herbemont wrote:


Hi,

Here is an attempt to merge the qemu tree hosted in darwine CVS  
repository [1]. This branch contains a darwin-user target for qemu,  
which goal is similar to linux-user on linux.


For now there is still much to do, like:
1- fill the ioctls*.h files
2- Accurately implement all the syscall.
3- have all the user access protected by lock_user/unlock_user and  
g2h/h2g macro.
4- Fix the bugs that prevent Cocoa apps from running i386-darwin- 
user on ppc


But darwin-user is starting to become functionnal:
- i386-darwin-user on x86: (Some) cocoa apps run fines.
- i386-darwin-user on ppc: (Some) command line utility work fines,  
but we may have some bugs left that prevent Cocoa applications from  
working.
- ppc-darwin-user on ppc: commpage issues can prevent qemu from  
running, hopefully todo#3 could fix that.
- ppc-darwin-user on x86: ppc and x86 commpage overlap, so the ppc  
commpage can't be mapped, hopefully todo#3 could fix that too.


I hope to ear some feedback about inclusion in the qemu TOT.

Pierre.

(Note that Matt Reda used to work on that too.)

[1] http://darwine.cvs.sourceforge.net/darwine/qemu/



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] [PATCH] darwin-user merge attempt

2007-01-11 Thread Pierre d'Herbemont

Hi,

Here is an attempt to merge the qemu tree hosted in darwine CVS  
repository [1]. This branch contains a darwin-user target for qemu,  
which goal is similar to linux-user on linux.


For now there is still much to do, like:
1- fill the ioctls*.h files
2- Accurately implement all the syscall.
3- have all the user access protected by lock_user/unlock_user and  
g2h/h2g macro.
4- Fix the bugs that prevent Cocoa apps from running i386-darwin-user  
on ppc


But darwin-user is starting to become functionnal:
- i386-darwin-user on x86: (Some) cocoa apps run fines.
- i386-darwin-user on ppc: (Some) command line utility work fines,  
but we may have some bugs left that prevent Cocoa applications from  
working.
- ppc-darwin-user on ppc: commpage issues can prevent qemu from  
running, hopefully todo#3 could fix that.
- ppc-darwin-user on x86: ppc and x86 commpage overlap, so the ppc  
commpage can't be mapped, hopefully todo#3 could fix that too.


I hope to ear some feedback about inclusion in the qemu TOT.

Pierre.

(Note that Matt Reda used to work on that too.)

[1] http://darwine.cvs.sourceforge.net/darwine/qemu/



darwin_user.1.diff.txt.bz2
Description: Binary data
___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel