qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio
at master 89 lines 3.5 kB view raw
1obj-$(CONFIG_TCG) += arm-semi.o 2obj-y += helper.o vfp_helper.o 3obj-y += cpu.o gdbstub.o 4obj-$(TARGET_AARCH64) += cpu64.o gdbstub64.o 5 6obj-$(CONFIG_SOFTMMU) += machine.o arch_dump.o monitor.o 7obj-$(CONFIG_SOFTMMU) += arm-powerctl.o 8 9obj-$(CONFIG_KVM) += kvm.o 10obj-$(call land,$(CONFIG_KVM),$(call lnot,$(TARGET_AARCH64))) += kvm32.o 11obj-$(call land,$(CONFIG_KVM),$(TARGET_AARCH64)) += kvm64.o 12obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o 13 14DECODETREE = $(SRC_PATH)/scripts/decodetree.py 15 16target/arm/decode-sve.inc.c: $(SRC_PATH)/target/arm/sve.decode $(DECODETREE) 17 $(call quiet-command,\ 18 $(PYTHON) $(DECODETREE) --decode disas_sve -o $@ $<,\ 19 "GEN", $(TARGET_DIR)$@) 20 21target/arm/decode-neon-shared.inc.c: $(SRC_PATH)/target/arm/neon-shared.decode $(DECODETREE) 22 $(call quiet-command,\ 23 $(PYTHON) $(DECODETREE) --static-decode disas_neon_shared -o $@ $<,\ 24 "GEN", $(TARGET_DIR)$@) 25 26target/arm/decode-neon-dp.inc.c: $(SRC_PATH)/target/arm/neon-dp.decode $(DECODETREE) 27 $(call quiet-command,\ 28 $(PYTHON) $(DECODETREE) --static-decode disas_neon_dp -o $@ $<,\ 29 "GEN", $(TARGET_DIR)$@) 30 31target/arm/decode-neon-ls.inc.c: $(SRC_PATH)/target/arm/neon-ls.decode $(DECODETREE) 32 $(call quiet-command,\ 33 $(PYTHON) $(DECODETREE) --static-decode disas_neon_ls -o $@ $<,\ 34 "GEN", $(TARGET_DIR)$@) 35 36target/arm/decode-vfp.inc.c: $(SRC_PATH)/target/arm/vfp.decode $(DECODETREE) 37 $(call quiet-command,\ 38 $(PYTHON) $(DECODETREE) --static-decode disas_vfp -o $@ $<,\ 39 "GEN", $(TARGET_DIR)$@) 40 41target/arm/decode-vfp-uncond.inc.c: $(SRC_PATH)/target/arm/vfp-uncond.decode $(DECODETREE) 42 $(call quiet-command,\ 43 $(PYTHON) $(DECODETREE) --static-decode disas_vfp_uncond -o $@ $<,\ 44 "GEN", $(TARGET_DIR)$@) 45 46target/arm/decode-a32.inc.c: $(SRC_PATH)/target/arm/a32.decode $(DECODETREE) 47 $(call quiet-command,\ 48 $(PYTHON) $(DECODETREE) --static-decode disas_a32 -o $@ $<,\ 49 "GEN", $(TARGET_DIR)$@) 50 51target/arm/decode-a32-uncond.inc.c: $(SRC_PATH)/target/arm/a32-uncond.decode $(DECODETREE) 52 $(call quiet-command,\ 53 $(PYTHON) $(DECODETREE) --static-decode disas_a32_uncond -o $@ $<,\ 54 "GEN", $(TARGET_DIR)$@) 55 56target/arm/decode-t32.inc.c: $(SRC_PATH)/target/arm/t32.decode $(DECODETREE) 57 $(call quiet-command,\ 58 $(PYTHON) $(DECODETREE) --static-decode disas_t32 -o $@ $<,\ 59 "GEN", $(TARGET_DIR)$@) 60 61target/arm/decode-t16.inc.c: $(SRC_PATH)/target/arm/t16.decode $(DECODETREE) 62 $(call quiet-command,\ 63 $(PYTHON) $(DECODETREE) -w 16 --static-decode disas_t16 -o $@ $<,\ 64 "GEN", $(TARGET_DIR)$@) 65 66target/arm/translate-sve.o: target/arm/decode-sve.inc.c 67target/arm/translate.o: target/arm/decode-neon-shared.inc.c 68target/arm/translate.o: target/arm/decode-neon-dp.inc.c 69target/arm/translate.o: target/arm/decode-neon-ls.inc.c 70target/arm/translate.o: target/arm/decode-vfp.inc.c 71target/arm/translate.o: target/arm/decode-vfp-uncond.inc.c 72target/arm/translate.o: target/arm/decode-a32.inc.c 73target/arm/translate.o: target/arm/decode-a32-uncond.inc.c 74target/arm/translate.o: target/arm/decode-t32.inc.c 75target/arm/translate.o: target/arm/decode-t16.inc.c 76 77obj-y += tlb_helper.o debug_helper.o 78obj-y += translate.o op_helper.o 79obj-y += crypto_helper.o 80obj-y += iwmmxt_helper.o vec_helper.o neon_helper.o 81obj-y += m_helper.o 82obj-y += cpu_tcg.o 83 84obj-$(CONFIG_SOFTMMU) += psci.o 85 86obj-$(TARGET_AARCH64) += translate-a64.o helper-a64.o 87obj-$(TARGET_AARCH64) += translate-sve.o sve_helper.o 88obj-$(TARGET_AARCH64) += pauth_helper.o 89obj-$(TARGET_AARCH64) += mte_helper.o