From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTHtA-0002QW-7H for qemu-devel@nongnu.org; Mon, 16 Jan 2017 19:44:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTHt7-0005a1-53 for qemu-devel@nongnu.org; Mon, 16 Jan 2017 19:44:40 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:38511) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cTHt6-0005ZT-QP for qemu-devel@nongnu.org; Mon, 16 Jan 2017 19:44:37 -0500 From: Marek Vasut Date: Tue, 17 Jan 2017 01:44:02 +0100 Message-Id: <20170117004409.28532-1-marex@denx.de> Subject: [Qemu-devel] [PATCH 0/7] Nios2 architecture support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Marek Vasut This patchset adds support for new Nios2 architecture as well as the initial set of models for hardware blocks and emulation of the Altera 10M50 GHRD devkit. Chris Wulff (3): nios2: Add architecture emulation support nios2: Add IIC interrupt controller emulation nios2: Add periodic timer emulation Marek Vasut (4): nios2: Add disas entries nios2: Add usermode binaries emulation nios2: Add Altera 10M50 GHRD emulation nios2: Add support for Nios-II R1 MAINTAINERS | 8 + arch_init.c | 2 + configure | 5 + default-configs/nios2-linux-user.mak | 1 + default-configs/nios2-softmmu.mak | 6 + disas/Makefile.objs | 1 + disas/nios2.c | 3534 ++++++++++++++++++++++++++++++++++ hw/intc/Makefile.objs | 1 + hw/intc/nios2_iic.c | 103 + hw/nios2/10m50_devboard.c | 126 ++ hw/nios2/Makefile.objs | 1 + hw/nios2/boot.c | 223 +++ hw/nios2/boot.h | 11 + hw/nios2/cpu_pic.c | 70 + hw/timer/Makefile.objs | 1 + hw/timer/altera_timer.c | 237 +++ include/disas/bfd.h | 6 + include/elf.h | 2 + include/sysemu/arch_init.h | 1 + linux-user/elfload.c | 57 + linux-user/main.c | 140 +- linux-user/nios2/syscall_nr.h | 329 ++++ linux-user/nios2/target_cpu.h | 39 + linux-user/nios2/target_signal.h | 26 + linux-user/nios2/target_structs.h | 58 + linux-user/nios2/target_syscall.h | 37 + linux-user/nios2/termbits.h | 220 +++ linux-user/signal.c | 238 ++- linux-user/syscall_defs.h | 8 +- qemu-doc.texi | 3 + target/nios2/Makefile.objs | 4 + target/nios2/cpu.c | 239 +++ target/nios2/cpu.h | 272 +++ target/nios2/helper.c | 313 +++ target/nios2/helper.h | 27 + target/nios2/mmu.c | 296 +++ target/nios2/mmu.h | 50 + target/nios2/monitor.c | 35 + target/nios2/op_helper.c | 47 + target/nios2/translate.c | 956 +++++++++ 40 files changed, 7726 insertions(+), 7 deletions(-) create mode 100644 default-configs/nios2-linux-user.mak create mode 100644 default-configs/nios2-softmmu.mak create mode 100644 disas/nios2.c create mode 100644 hw/intc/nios2_iic.c create mode 100644 hw/nios2/10m50_devboard.c create mode 100644 hw/nios2/Makefile.objs create mode 100644 hw/nios2/boot.c create mode 100644 hw/nios2/boot.h create mode 100644 hw/nios2/cpu_pic.c create mode 100644 hw/timer/altera_timer.c create mode 100644 linux-user/nios2/syscall_nr.h create mode 100644 linux-user/nios2/target_cpu.h create mode 100644 linux-user/nios2/target_signal.h create mode 100644 linux-user/nios2/target_structs.h create mode 100644 linux-user/nios2/target_syscall.h create mode 100644 linux-user/nios2/termbits.h create mode 100644 target/nios2/Makefile.objs create mode 100644 target/nios2/cpu.c create mode 100644 target/nios2/cpu.h create mode 100644 target/nios2/helper.c create mode 100644 target/nios2/helper.h create mode 100644 target/nios2/mmu.c create mode 100644 target/nios2/mmu.h create mode 100644 target/nios2/monitor.c create mode 100644 target/nios2/op_helper.c create mode 100644 target/nios2/translate.c -- 2.11.0