qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

tcg: Search includes in the parent source directory

All the *.inc.c files included by tcg/$TARGET/tcg-target.inc.c
are in tcg/, their parent directory. To simplify the preprocessor
search path, include the relative parent path: '..'.

Patch created mechanically by running:

$ for x in tcg-pool.inc.c tcg-ldst.inc.c; do \
sed -i "s,#include \"$x\",#include \"../$x\"," \
$(git grep -l "#include \"$x\""); \
done

Acked-by: David Gibson <david@gibson.dropbear.id.au> (ppc parts)
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200101112303.20724-3-philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

authored by

Philippe Mathieu-Daudé and committed by
Richard Henderson
2b434dd1 dcb32f1d

+14 -14
+2 -2
tcg/aarch64/tcg-target.inc.c
··· 10 10 * See the COPYING file in the top-level directory for details. 11 11 */ 12 12 13 - #include "tcg-pool.inc.c" 13 + #include "../tcg-pool.inc.c" 14 14 #include "qemu/bitops.h" 15 15 16 16 /* We're going to re-use TCGType in setting of the SF bit, which controls ··· 1541 1541 } 1542 1542 1543 1543 #ifdef CONFIG_SOFTMMU 1544 - #include "tcg-ldst.inc.c" 1544 + #include "../tcg-ldst.inc.c" 1545 1545 1546 1546 /* helper signature: helper_ret_ld_mmu(CPUState *env, target_ulong addr, 1547 1547 * TCGMemOpIdx oi, uintptr_t ra)
+2 -2
tcg/arm/tcg-target.inc.c
··· 23 23 */ 24 24 25 25 #include "elf.h" 26 - #include "tcg-pool.inc.c" 26 + #include "../tcg-pool.inc.c" 27 27 28 28 int arm_arch = __ARM_ARCH; 29 29 ··· 1131 1131 } 1132 1132 1133 1133 #ifdef CONFIG_SOFTMMU 1134 - #include "tcg-ldst.inc.c" 1134 + #include "../tcg-ldst.inc.c" 1135 1135 1136 1136 /* helper signature: helper_ret_ld_mmu(CPUState *env, target_ulong addr, 1137 1137 * int mmu_idx, uintptr_t ra)
+2 -2
tcg/i386/tcg-target.inc.c
··· 22 22 * THE SOFTWARE. 23 23 */ 24 24 25 - #include "tcg-pool.inc.c" 25 + #include "../tcg-pool.inc.c" 26 26 27 27 #ifdef CONFIG_DEBUG_TCG 28 28 static const char * const tcg_target_reg_names[TCG_TARGET_NB_REGS] = { ··· 1647 1647 } 1648 1648 1649 1649 #if defined(CONFIG_SOFTMMU) 1650 - #include "tcg-ldst.inc.c" 1650 + #include "../tcg-ldst.inc.c" 1651 1651 1652 1652 /* helper signature: helper_ret_ld_mmu(CPUState *env, target_ulong addr, 1653 1653 * int mmu_idx, uintptr_t ra)
+1 -1
tcg/mips/tcg-target.inc.c
··· 1107 1107 } 1108 1108 1109 1109 #if defined(CONFIG_SOFTMMU) 1110 - #include "tcg-ldst.inc.c" 1110 + #include "../tcg-ldst.inc.c" 1111 1111 1112 1112 static void * const qemu_ld_helpers[16] = { 1113 1113 [MO_UB] = helper_ret_ldub_mmu,
+2 -2
tcg/ppc/tcg-target.inc.c
··· 23 23 */ 24 24 25 25 #include "elf.h" 26 - #include "tcg-pool.inc.c" 26 + #include "../tcg-pool.inc.c" 27 27 28 28 #if defined _CALL_DARWIN || defined __APPLE__ 29 29 #define TCG_TARGET_CALL_DARWIN ··· 1845 1845 }; 1846 1846 1847 1847 #if defined (CONFIG_SOFTMMU) 1848 - #include "tcg-ldst.inc.c" 1848 + #include "../tcg-ldst.inc.c" 1849 1849 1850 1850 /* helper signature: helper_ld_mmu(CPUState *env, target_ulong addr, 1851 1851 * int mmu_idx, uintptr_t ra)
+2 -2
tcg/riscv/tcg-target.inc.c
··· 27 27 * THE SOFTWARE. 28 28 */ 29 29 30 - #include "tcg-pool.inc.c" 30 + #include "../tcg-pool.inc.c" 31 31 32 32 #ifdef CONFIG_DEBUG_TCG 33 33 static const char * const tcg_target_reg_names[TCG_TARGET_NB_REGS] = { ··· 921 921 */ 922 922 923 923 #if defined(CONFIG_SOFTMMU) 924 - #include "tcg-ldst.inc.c" 924 + #include "../tcg-ldst.inc.c" 925 925 926 926 /* helper signature: helper_ret_ld_mmu(CPUState *env, target_ulong addr, 927 927 * TCGMemOpIdx oi, uintptr_t ra)
+2 -2
tcg/s390/tcg-target.inc.c
··· 29 29 #error "unsupported code generation mode" 30 30 #endif 31 31 32 - #include "tcg-pool.inc.c" 32 + #include "../tcg-pool.inc.c" 33 33 #include "elf.h" 34 34 35 35 /* ??? The translation blocks produced by TCG are generally small enough to ··· 1536 1536 } 1537 1537 1538 1538 #if defined(CONFIG_SOFTMMU) 1539 - #include "tcg-ldst.inc.c" 1539 + #include "../tcg-ldst.inc.c" 1540 1540 1541 1541 /* We're expecting to use a 20-bit negative offset on the tlb memory ops. */ 1542 1542 QEMU_BUILD_BUG_ON(TLB_MASK_TABLE_OFS(0) > 0);
+1 -1
tcg/sparc/tcg-target.inc.c
··· 22 22 * THE SOFTWARE. 23 23 */ 24 24 25 - #include "tcg-pool.inc.c" 25 + #include "../tcg-pool.inc.c" 26 26 27 27 #ifdef CONFIG_DEBUG_TCG 28 28 static const char * const tcg_target_reg_names[TCG_TARGET_NB_REGS] = {