Received: from eggs.gnu.org ([140.186.70.92]:44733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCDWN-0001nr-Ke for qemu-devel@nongnu.org; Tue, 19 Apr 2011 12:11:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QCDWG-00036H-LK for qemu-devel@nongnu.org; Tue, 19 Apr 2011 12:11:23 -0400 Received: from b.mail.sonic.net ([64.142.19.5]:46560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCDWG-00035o-B0 for qemu-devel@nongnu.org; Tue, 19 Apr 2011 12:11:16 -0400 Received: from are.twiddle.net (are.twiddle.net [75.101.38.216]) by b.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id p3JF52jG008027 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 19 Apr 2011 08:05:02 -0700 Received: from are.twiddle.net (localhost [127.0.0.1]) by are.twiddle.net (8.14.4/8.14.4) with ESMTP id p3JF52kF012812 for ; Tue, 19 Apr 2011 08:05:02 -0700 Received: (from rth@localhost) by are.twiddle.net (8.14.4/8.14.4/Submit) id p3JF51SM012810 for qemu-devel@nongnu.org; Tue, 19 Apr 2011 08:05:01 -0700 From: Richard Henderson Date: Tue, 19 Apr 2011 08:04:37 -0700 Message-Id: <1303225501-12778-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 00/24] Alpha system emulation, v2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Changes from v1 to v2: - Split patch 5 up into little pieces. These pieces were compile tested by applying patch 23 (Enable alpha-softmmu) out of sequence so that both softmmu and linux-user targets were built. But in the end I chickened out and re-ordered the enable patch to last. - The TB->FLAGS patch is more comprehensive. In doing the split I noticed that we were doing funny things with AMASK that really ought to have belonged in the TB in the first place. - The patch for unassigned addresses is more comprehensive. I had previously failed to do the if-deffing dance in the generic part of QEMU. - The PALcode source is added as a submodule. r~ Richard Henderson (24): Export the unassigned_mem read/write functions. target-alpha: Disassemble EV6 PALcode instructions. pci: Export pci_to_cpu_addr. target-alpha: Remove partial support for palcode emulation. target-alpha: Tidy exception constants. target-alpha: Rationalize internal processor registers. target-alpha: Cleanup MMU modes. target-alpha: Fixup translation of PALmode instructions. target-alpha: Add IPRs to be used by the emulation PALcode. target-alpha: Tidy up arithmetic exceptions. target-alpha: Merge HW_REI and HW_RET implementations. target-alpha: Implement do_interrupt for system mode. target-alpha: Swap shadow registers moving to/from PALmode. target-alpha: Add various symbolic constants. target-alpha: All ISA checks to use TB->FLAGS. target-alpha: Disable interrupts properly. target-alpha: Implement more CALL_PAL values inline. target-alpha: Add custom PALcode image for SX164 emulation. target-alpha: Implement cpu_alpha_handle_mmu_fault for system mode. target-alpha: Trap for unassigned and unaligned addresses. target-alpha: Include the PCC_OFS in the RPCC return value. target-alpha: Implement TLB flush primitives. target-alpha: Enable the alpha-softmmu target. target-alpha: Add SX164 emulation. .gitmodules | 3 + 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-all.h | 2 +- exec.c | 24 +- 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 | 49 +-- pc-bios/palcode-sx164 | Bin 0 -> 107621 bytes roms/qemu-palcode | 1 + target-alpha/cpu.h | 363 ++++++-------- target-alpha/exec.h | 7 +- target-alpha/helper.c | 581 +++++++++------------ target-alpha/helper.h | 32 +- target-alpha/machine.c | 87 +++ target-alpha/op_helper.c | 236 ++++----- target-alpha/translate.c | 771 ++++++++++++++++------------ 29 files changed, 2734 insertions(+), 2145 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 160000 roms/qemu-palcode create mode 100644 target-alpha/machine.c -- 1.7.3.4