From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:48298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBUcf-0006B9-Ci for qemu-devel@nongnu.org; Sun, 17 Apr 2011 12:14:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QBUce-0007DM-9S for qemu-devel@nongnu.org; Sun, 17 Apr 2011 12:14:53 -0400 Received: from mail-pz0-f45.google.com ([209.85.210.45]:36593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBUce-0007D8-4x for qemu-devel@nongnu.org; Sun, 17 Apr 2011 12:14:52 -0400 Received: by pzk36 with SMTP id 36so2258115pzk.4 for ; Sun, 17 Apr 2011 09:14:51 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Sun, 17 Apr 2011 09:14:31 -0700 Message-Id: <1303056876-14320-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 0/5] Alpha system emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is good enough to begin booting the Linux kernel. We do not get all the way to userspace yet; I've found two kernel bugs so far leading to immediate crashes, I suspect there are more that have crept in. At the moment we seem to get into the cpu_idle loop without managing to schedule the first kernel_thread. Posted to begin getting comments. Source to the QEMU PALcode can be found at http://repo.or.cz/w/qemu-palcode.git Several patches for the kernel to recover from recent breakage at http://repo.or.cz/w/linux-2.6/rth.git axp-qemu r~ Richard Henderson (5): Export the unassigned_mem read/write functions. target-alpha: Disassemble EV6 PALcode instructions. pci: Export pci_to_cpu_addr. target-alpha: Prepare for Alpha BIOS images. target-alpha: Emulate Alpha SX164. Makefile | 3 +- Makefile.target | 4 +- alpha-dis.c | 4 - configure | 3 +- cpu-common.h | 7 + cpu-exec.c | 16 +- default-configs/alpha-softmmu.mak | 9 + dis-asm.h | 3 + disas.c | 2 +- exec.c | 12 +- hw/alpha_palcode.c | 1048 ------------------------------------ hw/alpha_pci.c | 327 ++++++++++++ hw/alpha_pyxis.c | 1057 +++++++++++++++++++++++++++++++++++++ hw/alpha_sx164.c | 195 +++++++ hw/alpha_sys.h | 41 ++ hw/pci.c | 3 +- hw/pci.h | 1 + linux-user/main.c | 39 +- pc-bios/palcode-sx164 | Bin 0 -> 107781 bytes target-alpha/cpu.h | 337 +++++------- target-alpha/exec.h | 7 +- target-alpha/helper.c | 630 ++++++++++------------ target-alpha/helper.h | 34 +- target-alpha/machine.c | 84 +++ target-alpha/op_helper.c | 249 ++++------ target-alpha/translate.c | 422 +++++++++------- 26 files changed, 2543 insertions(+), 1994 deletions(-) create mode 100644 default-configs/alpha-softmmu.mak delete mode 100644 hw/alpha_palcode.c create mode 100644 hw/alpha_pci.c create mode 100644 hw/alpha_pyxis.c create mode 100644 hw/alpha_sx164.c create mode 100644 hw/alpha_sys.h create mode 100644 pc-bios/palcode-sx164 create mode 100644 target-alpha/machine.c -- 1.7.4.2