From 032c76bc6f92052336b990ca7f51864a275a4839 Mon Sep 17 00:00:00 2001 From: Chris Wulff Date: Wed, 18 Jan 2017 23:01:41 +0100 Subject: nios2: Add architecture emulation support Add support for emulating Altera NiosII R1 architecture into qemu. This patch is based on previous work by Chris Wulff from 2012 and updated to latest mainline QEMU. Signed-off-by: Marek Vasut Cc: Chris Wulff Cc: Jeff Da Silva Cc: Ley Foon Tan Cc: Sandra Loosemore Cc: Yves Vandervennet Cc: Alexander Graf Message-Id: <20170118220146.489-3-marex@denx.de> [rth: Remove tlb_flush from nios2_cpu_reset.] Signed-off-by: Richard Henderson --- target/nios2/Makefile.objs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 target/nios2/Makefile.objs (limited to 'target/nios2/Makefile.objs') diff --git a/target/nios2/Makefile.objs b/target/nios2/Makefile.objs new file mode 100644 index 0000000000..2a11c5ce08 --- /dev/null +++ b/target/nios2/Makefile.objs @@ -0,0 +1,4 @@ +obj-y += translate.o op_helper.o helper.o cpu.o mmu.o +obj-$(CONFIG_SOFTMMU) += monitor.o + +$(obj)/op_helper.o: QEMU_CFLAGS += $(HELPER_CFLAGS) -- cgit v1.2.3-55-g7522