These patches add support for a generic MMU-less Nios II board and add semihosting support for Nios II, the latter based on the m68k semihosting implementation. These are useful for testing "bare metal" Nios II toolchains, given appropriate startup code. I've tested our internal builds successfully with these patches.
OK, or any comments? Thanks, Julian Julian Brown (2): Add generic Nios II board. Add Nios II semihosting support. hw/nios2/Makefile.objs | 2 +- hw/nios2/boot.c | 5 +- hw/nios2/generic_nommu.c | 128 ++++++++++++++ qemu-options.hx | 8 +- target/nios2/Makefile.objs | 2 +- target/nios2/cpu.h | 4 +- target/nios2/helper.c | 11 ++ target/nios2/nios2-semi.c | 429 +++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 581 insertions(+), 8 deletions(-) create mode 100644 hw/nios2/generic_nommu.c create mode 100644 target/nios2/nios2-semi.c -- 2.8.1