[Top][All Lists]

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

Re: [Qemu-devel] qemu-darwin-user

From: Jocelyn Mayer
Subject: Re: [Qemu-devel] qemu-darwin-user
Date: Fri, 27 Aug 2004 14:08:19 +0200

On Fri, 2004-08-27 at 13:13, Pierre d'Herbemont wrote:
> Hi all,


> I have done some work on the darwin-user side. Since it doesn't work 
> yet, I don't submit patch for it but I have updated the qemu branch on 
> opendarwin [1][2], and you can now ./configure 
> --target-list=i386-darwin-user. Basically it can load a Fat or a 
> regular binary, and have the dynamic linker called. Unfortunately it 
> crashes somewhere in _dyld_reloc right now.

You may be interressed to know that I have working code for BSD/Darwin
program emulation, including working FAT/mach-O loader.
In fact, I was working on Darwin emulation before I integrate my PPC
emulation code into Qemu.
As I already emulated all basic syscalls & sysctl for the 4 BSD flavours
(Net, Open, Free & Darwin), but Mach ones, you may like to get my code.
This code used to be in the Linux kernel but I can easily adapt it for
Qemu. The big missing parts to allow the execution of complex programs
are mach syscalls and signals management, but I guess this part can be
taken from Linux-user emulation with a few changes.

Jocelyn Mayer <address@hidden>
Never organized

reply via email to

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