summaryrefslogtreecommitdiffstats
path: root/target/nios2/Makefile.objs
diff options
context:
space:
mode:
authorChris Wulff2017-01-18 23:01:41 +0100
committerRichard Henderson2017-01-24 22:10:35 +0100
commit032c76bc6f92052336b990ca7f51864a275a4839 (patch)
tree45878fe4444dde022ae31826219fd7677ede51a6 /target/nios2/Makefile.objs
parentMerge remote-tracking branch 'remotes/ehabkost/tags/x86-and-machine-pull-requ... (diff)
downloadqemu-032c76bc6f92052336b990ca7f51864a275a4839.tar.gz
qemu-032c76bc6f92052336b990ca7f51864a275a4839.tar.xz
qemu-032c76bc6f92052336b990ca7f51864a275a4839.zip
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 <marex@denx.de> Cc: Chris Wulff <crwulff@gmail.com> Cc: Jeff Da Silva <jdasilva@altera.com> Cc: Ley Foon Tan <lftan@altera.com> Cc: Sandra Loosemore <sandra@codesourcery.com> Cc: Yves Vandervennet <yvanderv@altera.com> Cc: Alexander Graf <agraf@suse.de> Message-Id: <20170118220146.489-3-marex@denx.de> [rth: Remove tlb_flush from nios2_cpu_reset.] Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/nios2/Makefile.objs')
-rw-r--r--target/nios2/Makefile.objs4
1 files changed, 4 insertions, 0 deletions
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)