This is me acking this new target. Hopefully Chris and/or Marek will be able to get some gpg keys signed relatively soon.
I had to make one change for the target, updating to rely on the common tlb_flush during reset. r~ The following changes since commit 3879284d6517dc22529395bdb259f4183b589127: Merge remote-tracking branch 'remotes/berrange/tags/pull-qio-2017-01-23-2' into staging (2017-01-23 15:59:09 +0000) are available in the git repository at: git://github.com/rth7680/qemu.git tags/pull-nios-20170123 for you to fetch changes up to 9a6aa7cc59b7ff0535392241e19c73cde146c506: nios2: Add support for Nios-II R1 (2017-01-23 13:54:58 -0800) ---------------------------------------------------------------- nios2 target support ---------------------------------------------------------------- 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 | 237 +++ 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 | 958 +++++++++ 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