From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AMVNR-0008I9-GY for qemu-devel@nongnu.org; Wed, 19 Nov 2003 11:40:25 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AMVMt-00087F-Da for qemu-devel@nongnu.org; Wed, 19 Nov 2003 11:40:22 -0500 Received: from [62.210.158.45] (helo=quito.magic.fr) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AMVLD-0007Gt-1h for qemu-devel@nongnu.org; Wed, 19 Nov 2003 11:38:07 -0500 Subject: Re: [Qemu-devel] [ADD] PPC processor emulation From: Jocelyn Mayer In-Reply-To: <1069204310.31651.20.camel@gaston> References: <1069195839.13658.2379.camel@rapid> <1069204310.31651.20.camel@gaston> Content-Type: text/plain Message-Id: <1069256143.1647.3.camel@jma1.dev.netgem.com> Mime-Version: 1.0 Date: 19 Nov 2003 16:35:43 +0100 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: benh@kernel.crashing.org, qemu mailing list On Wed, 2003-11-19 at 02:11, Benjamin Herrenschmidt wrote: ... > > But a real Mac would be difficult to fully emulate, as I think it uses > > some obscure components. We can imagine the way it runs, looking at > > Darwin's code, sure... > > And the linux/ppc one :) Actually, you really don't need to emulate > much HW to get any of the MacOSes up. Especially true with Darwin > where you can feed the Mach kernel with proper platform drivers at > boot time. For MacOS 9, you need some bits (PCI config space, > interrupt controller, via-cuda, ...) but for most things like block > storage, networking, etc..., MOL just feeds MacOS with special > drivers from the device-tree that do the bridging. It's all in > MOL source which is GPL and so can be reused here. > > > But MacOs is supposed to run on PREP, which is well described and share > > a lot of components with PC hardwares. That's why I think it would be a > > good start to emulate this platform... > > I don't think it's that nice ;) I'd rather go the mac way :) Well, I'd say that you are right, regarding what real use of qemu will be... That's better for users to be able to launch MacOSX on a PC, but I'd like to also have a complete PPC box emulation to be able to launch any OS, quite like qemu does for x86 target. But, to have something to show, OK, it may be better to start up doing the same as MOL does... -- Jocelyn Mayer Never organized