From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ET4pB-00037O-L8 for qemu-devel@nongnu.org; Fri, 21 Oct 2005 17:53:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ET4p9-00036q-1k for qemu-devel@nongnu.org; Fri, 21 Oct 2005 17:53:16 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ET4p8-00036c-2Y for qemu-devel@nongnu.org; Fri, 21 Oct 2005 17:53:14 -0400 Received: from [65.74.133.11] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1ET4p6-0003m4-K8 for qemu-devel@nongnu.org; Fri, 21 Oct 2005 17:53:13 -0400 From: Paul Brook Subject: Re: [Qemu-devel] User-space emulation on Mac OS X to run Mac OS X Intel applications Date: Fri, 21 Oct 2005 22:52:51 +0100 References: <711013f80510211316t2d3d1f5fkcab79e82cb45676b@mail.gmail.com> <20051021211910.GA13467@jbrown.mylinuxbox.org> In-Reply-To: <20051021211910.GA13467@jbrown.mylinuxbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510212252.52183.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > (1) I believe there is an m68k target being worked on, which is not > strictly linux only. I haven't looked at it very closely and am not sure of > the details. But this doesn't really help you anyways. The m68k target supports a very simple semihosting syscall layer, similar to the the "angel" swi interface already implemented on Arm targets. Neither of these help darwin emulation. It's worth noting that OSX has two types of syscalls. IIRC one uses positive syscall IDs, th other negative: - The Darwin syscalls. Thees are more-ore-less the same as the linux layer, and should be fairly easy. You can also examine/borrow from the open source Darwin kernels. - The Mach syscalls, and all the message passing bits (eg IOkit). Some (many?) of these are proprietary. Might not be too hard to pass these through to an OSX host, but I wouldn't bet on it. Paul