From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPG23-00035M-Kr for qemu-devel@nongnu.org; Thu, 05 Jan 2017 16:57:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPG1y-0007lP-OU for qemu-devel@nongnu.org; Thu, 05 Jan 2017 16:57:11 -0500 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Thu, 5 Jan 2017 22:56:53 +0100 Message-Id: <1483653417-17439-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 v2 0/4] ppc: add a IBM 40p machine (RS/6000, PReP) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: David Gibson , Alexander Graf , qemu-ppc@nongnu.org, Thomas Huth , Giancarlo Teodori , =?UTF-8?q?Herv=C3=A9=20Poussineau?= 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 Hack'Ware, OpenBIOS and official = firmware. Linux kernel starts, and freezes during boot (seems like a problem with t= he SCSI adapter). Windows NT starts up to the point where it wants to change endianness. Other OSes have not been tested. This machine is a superset of the 'prep' one, because we know exactly wha= t is/should emulated, and that operating system list running on it is quite wide. I hope that 'prep' machine can be deprecated soon and then later removed. Patch 1 is a cleanup, and can probably be committed first. Patches 2 to 4 are the real implementation of the IBM 40p. Changes since v1: - removed patches related to display adapter: Let's wait for an emulation of the real display adapter (an S3 Trio), a= s current VGA adapter already mostly works with Open Hack'Ware and OpenBIOS - various changes due to David Gibson's remarks Herv=C3=A9 Poussineau (4): prep: do not use global variable to access nvram prep: add PReP System I/O prep: add IBM RS/6000 7020 (40p) memory controller prep: add IBM RS/6000 7020 (40p) machine emulation default-configs/ppc-softmmu.mak | 2 + hw/ppc/Makefile.objs | 2 + hw/ppc/prep.c | 231 +++++++++++++++++++++++++++++- hw/ppc/prep_systemio.c | 309 ++++++++++++++++++++++++++++++++++= ++++++ hw/ppc/rs6000_mc.c | 232 ++++++++++++++++++++++++++++++ hw/ppc/trace-events | 11 ++ 6 files changed, 785 insertions(+), 2 deletions(-) create mode 100644 hw/ppc/prep_systemio.c create mode 100644 hw/ppc/rs6000_mc.c --=20 2.1.4