From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2nSF-0004Pb-VU for qemu-devel@nongnu.org; Wed, 10 Jun 2015 17:22:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2nSB-0001KC-RA for qemu-devel@nongnu.org; Wed, 10 Jun 2015 17:22:35 -0400 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Wed, 10 Jun 2015 23:18:51 +0200 Message-Id: <1433971135-24587-1-git-send-email-hpoussin@reactos.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 0/4] PPC IBM 40p PReP emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Herv=C3=A9=20Poussineau?= , =?UTF-8?q?Andreas=20F=C3=A4rber?= , qemu-ppc@nongnu.org, Artyom Tarasenko Hi, This patchset adds the emulation of the IBM RS/6000 7020 (40p). The real = machine is able to run AIX (up to 4.3.3), Windows NT (up to 4.0 SP1), the beta of OS= /2 PowerPC, Solaris, Linux, NetBSD/PReP ... I've tested current emulation with Open Firmware PReP and with official f= irmware. Patch 2 has been of a great help when using official firmware. However, i= f required, I can drop it. Linux kernel runs. Windows NT starts up to the point where it wants to change endianness. Other OSes have not been tested. To test, download firmware a http://tyom.de/qprepofw-serial-svn-3738.rom = . Thanks Artyom! Then, run: qemu-system-ppc -M 40p -bios qprepofw-serial-svn-3738.rom -readconfig ibm= _40p.cfg -serial stdio Note that you can't natively boot from a hard disk using Open Firmware, a= s 40p storage is SCSI. Herv=C3=A9 Herv=C3=A9 Poussineau (4): prep: QOM'ify System I/O prep: add RS/6000 debug device prep: add IBM RS/6000 7020 (40p) memory controller prep: add IBM RS/6000 7020 (40p) machine emulation default-configs/ppc-softmmu.mak | 4 + docs/ibm_40p.cfg | 42 ++++++ hw/ppc/Makefile.objs | 3 + hw/ppc/prep.c | 99 +++++++++++++ hw/ppc/prep_systemio.c | 300 ++++++++++++++++++++++++++++++++++= ++++++ hw/ppc/rs6000_debug.c | 260 ++++++++++++++++++++++++++++++++++ hw/ppc/rs6000_mc.c | 229 ++++++++++++++++++++++++++++++ trace-events | 11 ++ 8 files changed, 948 insertions(+) create mode 100644 docs/ibm_40p.cfg create mode 100644 hw/ppc/prep_systemio.c create mode 100644 hw/ppc/rs6000_debug.c create mode 100644 hw/ppc/rs6000_mc.c --=20 2.1.4