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 1AM1BI-0004Om-8u for qemu-devel@nongnu.org; Tue, 18 Nov 2003 03:25:52 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AM1Ai-0003OE-RE for qemu-devel@nongnu.org; Tue, 18 Nov 2003 03:25:48 -0500 Received: from [62.210.158.41] (helo=moscou.magic.fr) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AM1Ai-0003MD-2J for qemu-devel@nongnu.org; Tue, 18 Nov 2003 03:25:16 -0500 Received: from 10.0.0.2 (ppp-181.net-555.magic.fr [62.210.255.181]) by moscou.magic.fr (8.11.6/8.10.1) with ESMTP id hAI7NnO01727 for ; Tue, 18 Nov 2003 08:23:49 +0100 (CET) From: "J. Mayer" In-Reply-To: <20031117105133.7e856e56.Jens.Arm@gmx.de> References: <20031117105133.7e856e56.Jens.Arm@gmx.de> Content-Type: text/plain Message-Id: <1069140512.14646.2174.camel@rapid> Mime-Version: 1.0 Date: 18 Nov 2003 08:28:33 +0100 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [ADD] PPC processor emulation Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Here's a set of patches which adds PPC processor as a new target. The emulation is not complete: there is no floating point instructions, only quick hacks for instructions used by the glibc when starting programs. there is no supervisor mode support for now the qemu elf loader is buggy and I didn't find the right patch to fix it by now, so a lot of dynamic programs won't load. I did test a dynamic bash successfully. Please note that there are fixes to do in syscalls: terminal control seems not to work, so I don't get any prompt with bash. The good point is that the test programs I did, which checks almost all emulated instructions, says that all that is implemented works quite well, for the core CPU emulation. Here's the file list: Makefile.diff Makefile.target.diff configure.diff cpu-all.h.diff cpu-exec.c.diff disas.c.diff dyngen-exec.h.diff elfload.c.diff gen_multi.c.diff main.c.diff ppc.patches syscall.c.diff syscall_defs.h.diff target-ppc__cpu.h.diff target-ppc__exec.h.diff target-ppc__helper.c.diff target-ppc__op.c.diff target-ppc__op.tpl.diff target-ppc__ppc_ops.h.diff target-ppc__syscall.h.diff target-ppc__syscall_nr.h.diff target-ppc__translate.c.diff translate-all.c.diff Please note that target-ppc__translate.c.diff is bigger than 40 kb so the mail will need approbation. -- J. Mayer Never organized