From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPsqi-0005nD-Dh for qemu-devel@nongnu.org; Sat, 07 Jan 2017 10:24:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPsqe-000828-Cz for qemu-devel@nongnu.org; Sat, 07 Jan 2017 10:24:04 -0500 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Sat, 7 Jan 2017 16:23:39 +0100 Message-Id: <1483802623-5507-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 v3 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 v2: - patch 2: fix mismatch between read and write functions for port 92 - patch 4: use error_report instead of fprintf/hw_error 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 | 233 +++++++++++++++++++++++++++++- hw/ppc/prep_systemio.c | 303 ++++++++++++++++++++++++++++++++++= ++++++ hw/ppc/rs6000_mc.c | 232 ++++++++++++++++++++++++++++++ hw/ppc/trace-events | 11 ++ 6 files changed, 781 insertions(+), 2 deletions(-) create mode 100644 hw/ppc/prep_systemio.c create mode 100644 hw/ppc/rs6000_mc.c --=20 2.1.4