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 1Ascva-00030Q-2s for qemu-devel@nongnu.org; Mon, 16 Feb 2004 02:12:26 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Ascv4-0002Wu-AY for qemu-devel@nongnu.org; Mon, 16 Feb 2004 02:12:25 -0500 Received: from [63.228.1.57] (helo=gate.crashing.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1Ascv3-0002Wo-Un for qemu-devel@nongnu.org; Mon, 16 Feb 2004 02:11:54 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.12.8/8.12.8) with ESMTP id i1G758Un024040 for ; Mon, 16 Feb 2004 01:05:09 -0600 Subject: Re: [Qemu-devel] PPC emulation on Qemu From: Benjamin Herrenschmidt In-Reply-To: <1076905652.25228.2193.camel@rapid> References: <1076854076.25228.1309.camel@rapid> <1076855825.14624.5.camel@localhost> <1076861194.25360.1433.camel@rapid> <1076885041.6959.113.camel@gaston> <1076902475.28421.2137.camel@rapid> <1076904537.6960.193.camel@gaston> <1076905652.25228.2193.camel@rapid> Content-Type: text/plain Message-Id: <1076915377.6957.222.camel@gaston> Mime-Version: 1.0 Date: Mon, 16 Feb 2004 18:09:38 +1100 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > > What is OpenPPC standard ? So far, the most "standard" PPCs are > > PowerMacs ;) > > Well, G4 Macs are close to OpenPPC standard, which is an open platform > which has been described by IBM. I like it has a reference because it's > nearly Macs and because AIX, MacOS (X I suppose) and Linux should be > able to run on it. You mean CHRP ? Hrm... AIX ? hehe, I wouldn't bet on that :) OS X neither. But at least for OS X, you can write your own drivers, like MOL does. > Yes I know it can run Linux, but what I wanted to point is that (if I'm > not wrong) it's not able to run any OS (ie AIX or pegasos or, why not > (?), BeOS or AmigaOS) like a real machine would. It could. All depends on which HW you emulate. > I agree that MOL exactly intend to do this, and does it well, but I > think qemu should really emulate the whole execution environment... > > Does the OSI calls mechanism needs patched OS and/or firmware ? It's an addition. MOL can run without it, it's just an optimisation so you can load special drivers into the host OS to makes things much faster / more useable. On MacOS, it makes a lot of sense since the drivers can be provided by the bootloader at boot or even in the ROM of some PCI cards, so MOL can transparently get those loaded into the host operating system when it's MacOS 9 or X. Also, for OS X, MOL actually loads a special kext that patches the kernel to remove it's use of MMU split mode, which isn't necessary under emulation and actually very slow to emulate. Ben.