include: Remove "exec/exec-all.h"
Subsystems (2)
v2 cover include: Remove "exec/exec-all.h"
Trivial series moving declarations around, emptying "exec/exec-all.h" to eventually remove it.
- Fix accel/stubs/tcg-stub.c headers
- Include "accel/tcg/getpc.h" where appropriate
- Extract TCG IOMMU API to "accel/tcg/iommu.h"
- Extract TCG probe API to "accel/tcg/probe.h"
- Remove "exec/exec-all.h"
It is based on "accel/tcg: Compile tb-maint.c twice". I had to fix its patch #12, so I'm including patches 12-15 in this series.
Based-on: <[email protected]>
Philippe Mathieu-Daudé (9):
accel/tcg: Correct list of included headers in tcg-stub.c include/exec: Include missing headers in exec-all.h target/riscv: Include missing 'accel/tcg/getpc.h' in csr.c target/hexagon: Include missing 'accel/tcg/getpc.h' accel/tcg: Include 'accel/tcg/getpc.h' in 'exec/helper-proto'
physmem: Move TCG IOMMU methods around
physmem: Restrict TCG IOMMU code to TCG accel accel/tcg: Extract probe API out of 'exec/exec-all.h'
include: Remove 'exec/exec-all.h'
Richard Henderson (4):
accel/tcg: Use vaddr for walk_memory_regions callback accel/tcg: Use vaddr in user/page-protection.h include/exec: Move tb_invalidate_phys_range to translation-block.h accel/tcg: Compile tb-maint.c twice
MAINTAINERS | 3 +-
accel/tcg/tb-hash.h | 3 +-
bsd-user/qemu.h | 1 -
include/accel/tcg/iommu.h | 41 ++++++++++++
.../{exec/exec-all.h => accel/tcg/probe.h} | 60 +++---------------
include/exec/helper-proto-common.h | 2 +
include/exec/translation-block.h | 4 ++
include/system/ram_addr.h | 1 -
include/user/page-protection.h | 22 +++----
linux-user/user-internals.h | 1 -
target/arm/tcg/translate.h | 1 -
target/hexagon/macros.h | 1 +
target/hexagon/mmvec/macros.h | 2 +
target/i386/tcg/helper-tcg.h | 1 -
accel/hvf/hvf-accel-ops.c | 1 -
accel/stubs/tcg-stub.c | 3 +-
accel/tcg/cputlb.c | 3 +-
accel/tcg/tb-maint.c | 2 -
accel/tcg/translate-all.c | 2 +-
accel/tcg/user-exec.c | 63 +++++++++----------
bsd-user/main.c | 1 -
hw/ppc/spapr_nested.c | 1 -
hw/riscv/riscv-iommu-sys.c | 1 -
hw/sh4/sh7750.c | 1 -
linux-user/elfload.c | 19 +++---
linux-user/main.c | 1 -
linux-user/syscall.c | 8 +--
semihosting/uaccess.c | 2 +-
system/physmem.c | 56 +++++++++--------
target/alpha/cpu.c | 1 -
target/alpha/fpu_helper.c | 1 -
target/alpha/int_helper.c | 1 -
target/alpha/mem_helper.c | 1 -
target/alpha/translate.c | 1 -
target/alpha/vax_helper.c | 1 -
target/arm/cpu.c | 1 -
target/arm/debug_helper.c | 1 -
target/arm/helper.c | 2 +-
target/arm/ptw.c | 4 +-
target/arm/tcg/helper-a64.c | 2 +-
target/arm/tcg/m_helper.c | 1 -
target/arm/tcg/mte_helper.c | 2 +-
target/arm/tcg/mve_helper.c | 1 -
target/arm/tcg/op_helper.c | 2 +-
target/arm/tcg/pauth_helper.c | 1 -
target/arm/tcg/sme_helper.c | 1 -
target/arm/tcg/sve_helper.c | 2 +-
target/arm/tcg/tlb_helper.c | 1 -
target/arm/tcg/translate-a64.c | 1 -
target/avr/cpu.c | 1 -
target/avr/translate.c | 1 -
target/hexagon/cpu.c | 1 -
target/hexagon/op_helper.c | 2 +-
target/hppa/cpu.c | 1 -
target/hppa/fpu_helper.c | 1 -
target/hppa/helper.c | 1 -
target/hppa/mem_helper.c | 2 +-
target/hppa/op_helper.c | 2 +-
target/hppa/sys_helper.c | 1 -
target/hppa/translate.c | 1 -
target/i386/tcg/access.c | 2 +-
target/i386/tcg/excp_helper.c | 1 -
target/i386/tcg/int_helper.c | 1 -
target/i386/tcg/mem_helper.c | 1 -
target/i386/tcg/mpx_helper.c | 1 -
target/i386/tcg/seg_helper.c | 2 +-
target/i386/tcg/system/bpt_helper.c | 1 -
target/i386/tcg/system/excp_helper.c | 1 +
target/i386/tcg/translate.c | 1 -
target/i386/tcg/user/excp_helper.c | 1 -
target/i386/tcg/user/seg_helper.c | 1 -
target/loongarch/cpu.c | 1 -
target/loongarch/tcg/fpu_helper.c | 1 -
target/loongarch/tcg/iocsr_helper.c | 1 -
target/loongarch/tcg/op_helper.c | 1 -
target/loongarch/tcg/tlb_helper.c | 1 -
target/loongarch/tcg/vec_helper.c | 1 -
target/m68k/fpu_helper.c | 1 -
target/m68k/helper.c | 1 -
target/m68k/op_helper.c | 1 -
target/m68k/translate.c | 1 -
target/microblaze/cpu.c | 1 -
target/microblaze/op_helper.c | 1 -
target/microblaze/translate.c | 1 -
target/mips/cpu.c | 1 -
target/mips/system/physaddr.c | 1 -
target/mips/tcg/exception.c | 1 -
target/mips/tcg/fpu_helper.c | 1 -
target/mips/tcg/ldst_helper.c | 1 -
target/mips/tcg/msa_helper.c | 2 +-
target/mips/tcg/op_helper.c | 1 -
target/mips/tcg/system/special_helper.c | 1 -
target/mips/tcg/system/tlb_helper.c | 1 -
target/openrisc/cpu.c | 1 -
target/openrisc/exception.c | 1 -
target/openrisc/exception_helper.c | 1 -
target/openrisc/fpu_helper.c | 1 -
target/openrisc/interrupt.c | 1 -
target/openrisc/interrupt_helper.c | 1 -
target/openrisc/sys_helper.c | 1 -
target/openrisc/translate.c | 1 -
target/ppc/excp_helper.c | 1 -
target/ppc/fpu_helper.c | 1 -
target/ppc/machine.c | 1 -
target/ppc/mem_helper.c | 2 +-
target/ppc/misc_helper.c | 1 -
target/ppc/mmu-hash32.c | 1 -
target/ppc/mmu-hash64.c | 1 -
target/ppc/mmu-radix64.c | 1 -
target/ppc/mmu_common.c | 1 -
target/ppc/mmu_helper.c | 1 -
target/ppc/power8-pmu.c | 1 -
target/ppc/tcg-excp_helper.c | 1 -
target/ppc/timebase_helper.c | 1 -
target/ppc/translate.c | 1 -
target/ppc/user_only_helper.c | 1 -
target/riscv/cpu.c | 1 -
target/riscv/cpu_helper.c | 1 -
target/riscv/crypto_helper.c | 1 -
target/riscv/csr.c | 2 +-
target/riscv/debug.c | 1 -
target/riscv/fpu_helper.c | 1 -
target/riscv/m128_helper.c | 1 -
target/riscv/op_helper.c | 2 +-
target/riscv/tcg/tcg-cpu.c | 1 -
target/riscv/translate.c | 1 -
target/riscv/vcrypto_helper.c | 1 -
target/riscv/vector_helper.c | 2 +-
target/riscv/zce_helper.c | 1 -
target/rx/op_helper.c | 1 -
target/rx/translate.c | 1 -
target/s390x/interrupt.c | 1 -
target/s390x/mmu_helper.c | 1 -
target/s390x/sigp.c | 1 -
target/s390x/tcg/cc_helper.c | 1 -
target/s390x/tcg/crypto_helper.c | 1 -
target/s390x/tcg/excp_helper.c | 1 -
target/s390x/tcg/fpu_helper.c | 1 -
target/s390x/tcg/int_helper.c | 1 -
target/s390x/tcg/mem_helper.c | 2 +-
target/s390x/tcg/misc_helper.c | 1 -
target/s390x/tcg/translate.c | 1 -
target/s390x/tcg/vec_fpu_helper.c | 1 -
target/s390x/tcg/vec_helper.c | 1 -
target/sh4/cpu.c | 1 -
target/sh4/helper.c | 1 -
target/sh4/op_helper.c | 1 -
target/sh4/translate.c | 1 -
target/sparc/cpu.c | 1 -
target/sparc/fop_helper.c | 1 -
target/sparc/helper.c | 1 -
target/sparc/ldst_helper.c | 1 -
target/sparc/machine.c | 1 -
target/sparc/translate.c | 1 -
target/sparc/win_helper.c | 1 -
target/tricore/cpu.c | 1 -
target/tricore/op_helper.c | 1 -
target/tricore/translate.c | 1 -
target/xtensa/dbg_helper.c | 1 -
target/xtensa/exc_helper.c | 1 -
target/xtensa/fpu_helper.c | 1 -
target/xtensa/mmu_helper.c | 2 +-
target/xtensa/op_helper.c | 1 -
target/xtensa/translate.c | 1 -
target/xtensa/win_helper.c | 1 -
accel/tcg/meson.build | 2 +-
166 files changed, 170 insertions(+), 295 deletions(-)
create mode 100644 include/accel/tcg/iommu.h
rename include/{exec/exec-all.h => accel/tcg/probe.h} (65%)Signature · 1 line
2.47.1
PATCH v2 1/13 accel/tcg: Use vaddr for walk_memory_regions callback
From: Richard Henderson <[email protected]>
Use vaddr instead of target_ulong. At the same time, use int instead of unsigned long for flags, to match page_set_flags().
Message-ID: <[email protected]>
--- include/user/page-protection.h | 5 ++--- accel/tcg/user-exec.c | 10 +++++----- linux-user/elfload.c | 19 +++++++++---------- linux-user/syscall.c | 8 ++++---- 4 files changed, 20 insertions(+), 22 deletions(-)
include/user/page-protection.h +2 -3
@@ -14,6 +14,7 @@#include "cpu-param.h" #include "exec/target_long.h" +#include "exec/vaddr.h" #include "exec/translation-block.h" int page_unprotect (CPUState *cpu,tb_page_addr_t address,uintptr_t pc);
@@ -88,9 +89,7 @@ target_ulong page_find_range_empty(target_ulong min, target_ulong max, __attribute__((returns_nonnull))void *page_get_target_data (target_ulong address); -typedef int (*walk_memory_regions_fn )(void *,target_ulong , -target_ulong ,unsigned long ); - +typedef int (*walk_memory_regions_fn )(void *,vaddr ,vaddr ,int );int walk_memory_regions (void *,walk_memory_regions_fn );void page_dump (FILE *f);
accel/tcg/user-exec.c +5 -5
@@ -199,13 +199,13 @@ int walk_memory_regions(void *priv, walk_memory_regions_fn fn)return rc; } -static int dump_region (void *priv,target_ulong start, -target_ulong end,unsigned long prot) +static int dump_region (void *opaque,vaddr start,vaddr end,int prot) { -FILE *f = (FILE *)priv; +FILE *f = opaque; -fprintf (f, TARGET_FMT_lx"-" TARGET_FMT_lx" " TARGET_FMT_lx" %c%c%c\n" , - start, end, end - start, +fprintf (f, TARGET_ABI_FMT_ptr"-" TARGET_ABI_FMT_ptr +" " TARGET_ABI_FMT_ptr" %c%c%c\n" , + (abi_ptr )start, (abi_ptr )end, (abi_ptr)(end - start), ((prot &PAGE_READ ) ?'r' :'-' ), ((prot &PAGE_WRITE ) ?'w' :'-' ), ((prot &PAGE_EXEC ) ?'x' :'-' ));
linux-user/elfload.c +9 -10
@@ -4044,8 +4044,7 @@ static inline void bswap_note(struct elf_note *en) { }/* * Calculate file (dump) size of given memory region. */ -static size_t vma_dump_size (target_ulong start,target_ulong end, -unsigned long flags) +static size_t vma_dump_size (vaddr start,vaddr end,int flags) {/* The area must be readable. */ if (!(flags &PAGE_READ )) {
@@ -4238,8 +4237,8 @@ static int dump_write(int fd, const void *ptr, size_t size)return (0 ); } -static int wmr_page_unprotect_regions (void *opaque,target_ulong start, -target_ulong end,unsigned long flags) +static int wmr_page_unprotect_regions (void *opaque,vaddr start, +vaddr end,int flags) {if ((flags & (PAGE_WRITE |PAGE_WRITE_ORG )) ==PAGE_WRITE_ORG ) {size_t step =MAX (TARGET_PAGE_SIZE ,qemu_real_host_page_size ());
@@ -4260,8 +4259,8 @@ typedef struct {size_t size; } CountAndSizeRegions; -static int wmr_count_and_size_regions (void *opaque,target_ulong start, -target_ulong end,unsigned long flags) +static int wmr_count_and_size_regions (void *opaque,vaddr start, +vaddr end,int flags) {CountAndSizeRegions *css = opaque;
@@ -4275,8 +4274,8 @@ typedef struct {off_t offset; } FillRegionPhdr; -static int wmr_fill_region_phdr (void *opaque,target_ulong start, -target_ulong end,unsigned long flags) +static int wmr_fill_region_phdr (void *opaque,vaddr start, +vaddr end,int flags) {FillRegionPhdr *d = opaque;struct elf_phdr *phdr = d->phdr;
@@ -4298,8 +4297,8 @@ static int wmr_fill_region_phdr(void *opaque, target_ulong start,return 0 ; } -static int wmr_write_region (void *opaque,target_ulong start, -target_ulong end,unsigned long flags) +static int wmr_write_region (void *opaque,vaddr start, +vaddr end,int flags) {int fd = *(int *)opaque;size_t size =vma_dump_size (start, end, flags);
linux-user/syscall.c +4 -4
@@ -8135,8 +8135,8 @@ static void open_self_maps_4(const struct open_self_maps_data *d,* Callback for walk_memory_regions, when read_self_maps() fails. * Proceed without the benefit of host /proc/self/maps cross-check. */ -static int open_self_maps_3 (void *opaque,target_ulong guest_start, -target_ulong guest_end,unsigned long flags) +static int open_self_maps_3 (void *opaque,vaddr guest_start, +vaddr guest_end,int flags) {static const MapInfo mi = { .is_priv = true };
@@ -8147,8 +8147,8 @@ static int open_self_maps_3(void *opaque, target_ulong guest_start,/* * Callback for walk_memory_regions, when read_self_maps() succeeds. */ -static int open_self_maps_2 (void *opaque,target_ulong guest_start, -target_ulong guest_end,unsigned long flags) +static int open_self_maps_2 (void *opaque,vaddr guest_start, +vaddr guest_end,int flags) {const struct open_self_maps_data *d = opaque;uintptr_t host_start = (uintptr_t )g2h_untagged (guest_start);
Signature · 1 line
2.47.1
PATCH v2 2/13 accel/tcg: Use vaddr in user/page-protection.h
In reply to Philippe Mathieu-DaudéFrom: Richard Henderson <[email protected]>
Message-ID: <[email protected]>
--- include/user/page-protection.h | 17 +++++------- accel/tcg/user-exec.c | 51 ++++++++++++++++------------------ 2 files changed, 31 insertions(+), 37 deletions(-)
include/user/page-protection.h +7 -10
@@ -12,14 +12,12 @@#error Cannot include this header from system emulation#endif -#include "cpu-param.h" -#include "exec/target_long.h" #include "exec/vaddr.h" #include "exec/translation-block.h" int page_unprotect (CPUState *cpu,tb_page_addr_t address,uintptr_t pc); -int page_get_flags (target_ulong address); +int page_get_flags (vaddr address);/** * page_set_flags:
@@ -32,9 +30,9 @@ int page_get_flags(target_ulong address);* The flag PAGE_WRITE_ORG is positioned automatically depending * on PAGE_WRITE. The mmap_lock should already be held. */ -void page_set_flags (target_ulong start,target_ulong last,int flags); +void page_set_flags (vaddr start,vaddr last,int flags); -void page_reset_target_data (target_ulong start,target_ulong last); +void page_reset_target_data (vaddr start,vaddr last);/** * page_check_range
@@ -46,7 +44,7 @@ void page_reset_target_data(target_ulong start, target_ulong last);* Return false if any page is unmapped. Thus testing flags == 0 is * equivalent to testing for flags == PAGE_VALID. */ -bool page_check_range (target_ulong start,target_ulong last,int flags); +bool page_check_range (vaddr start,vaddr last,int flags);/** * page_check_range_empty:
@@ -58,7 +56,7 @@ bool page_check_range(target_ulong start, target_ulong last, int flags);* The memory lock must be held so that the caller will can ensure * the result stays true until a new mapping can be installed. */ -bool page_check_range_empty (target_ulong start,target_ulong last); +bool page_check_range_empty (vaddr start,vaddr last);/** * page_find_range_empty
@@ -72,8 +70,7 @@ bool page_check_range_empty(target_ulong start, target_ulong last);* The memory lock must be held, as the caller will want to ensure * the returned range stays empty until a new mapping can be installed. */ -target_ulong page_find_range_empty (target_ulong min,target_ulong max, -target_ulong len,target_ulong align); +vaddr page_find_range_empty (vaddr min,vaddr max,vaddr len,vaddr align);/** * page_get_target_data(address)
@@ -87,7 +84,7 @@ target_ulong page_find_range_empty(target_ulong min, target_ulong max,* e.g. with the munmap system call. */ __attribute__((returns_nonnull)) -void *page_get_target_data (target_ulong address); +void *page_get_target_data (vaddr address);typedef int (*walk_memory_regions_fn )(void *,vaddr ,vaddr ,int );int walk_memory_regions (void *,walk_memory_regions_fn );
accel/tcg/user-exec.c +24 -27
178 lines not on this page · raw message
Signature · 1 line
2.47.1
PATCH v2 3/13 accel/tcg: Correct list of included headers in tcg-stub.c
In reply to Philippe Mathieu-DaudéIn commit 3549118b498 we moved cpu_loop_exit*() declarations to "exec/cpu-common.h" but neglected to update tcg-stub.c. We missed it because "exec/cpu-common.h" is indirectly pulled in via "exec/exec-all.h" -> "exec/translation-block.h". Include it directly instead of the not necessary "exec/exec-all.h".
Commit bb6cf6f0168 ("accel/tcg: Factor tcg_cpu_reset_hold() out") removed the need for "exec/tb-flush.h", so remote it too.
--- accel/stubs/tcg-stub.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
accel/stubs/tcg-stub.c +1 -2
@@ -11,8 +11,7 @@*/ #include "qemu/osdep.h" -#include "exec/tb-flush.h" -#include "exec/exec-all.h" +#include "exec/cpu-common.h" G_NORETURN void cpu_loop_exit(CPUState *cpu) {
Signature · 1 line
2.47.1
Re: [PATCH v2 03/13] accel/tcg: Correct list of included headers in tcg-stub.c
Quoted 20 lines · Philippe Mathieu-Daudé
In commit
3549118b498we moved cpu_loop_exit*() declarations to "exec/cpu-common.h" but neglected to updatetcg-stub.c. We missed it because "exec/cpu-common.h" is indirectly pulled in via "exec/exec-all.h" -> "exec/translation-block.h". Include it directly instead of the not necessary "exec/exec-all.h".Commit
bb6cf6f0168("accel/tcg: Factortcg_cpu_reset_hold()out") removed the need for "exec/tb-flush.h", so remote it too.Fixes 3549118b498 ("exec: Move cpu_loop_foo() functions to 'cpu-common.h'")Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- accel/stubs/tcg-stub.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)accel/stubs/tcg-stub.c +0
-0
accel/stubs/tcg-stub.c line 17
Quoted 9 lines
accel/stubs/tcg-stub.c +1
-2@@ -11,8 +11,7 @@*/ #include "qemu/osdep.h" -#include "exec/tb-flush.h" -#include "exec/exec-all.h" +#include "exec/cpu-common.h" G_NORETURN void cpu_loop_exit(CPUState *cpu) {
ATB,
Mark.
PATCH v2 4/13 include/exec: Include missing headers in exec-all.h
In reply to Philippe Mathieu-Daudé"exec/exec-all.h" declares prototypes such:
void *probe_access(CPUArchState *env, vaddr addr, int size,
^^^^^
MMUAccessType access_type, int mmu_idx,
uintptr_t retaddr);
MemoryRegionSection *iotlb_to_section(CPUState *cpu,
hwaddr index,
^^^^^^
MemTxAttrs attrs);
^^^^^^^^^^vaddr is defined in "exec/vaddr.h", hwaddr in "exec/hwaddr.h" and MemTxAttrs in "exec/memattrs.h". All these headers are indirectly pulled in via "exec/translation-block.h". Since we will remove "exec/translation-block.h" in the next commit, include the missing ones, otherwise we'd get errors such:
include/exec/exec-all.h:51:1: error: unknown type name 'hwaddr'
51 | hwaddr memory_region_section_get_iotlb(CPUState *cpu,
| ^
--- include/exec/exec-all.h | 3 +++ 1 file changed, 3 insertions(+)
include/exec/exec-all.h +3 -0
@@ -20,8 +20,11 @@#ifndef EXEC_ALL_H #define EXEC_ALL_H +#include "exec/hwaddr.h" +#include "exec/memattrs.h" #include "exec/mmu-access-type.h" #include "exec/translation-block.h" +#include "exec/vaddr.h" #if defined(CONFIG_TCG )#include "accel/tcg/getpc.h"
Signature · 1 line
2.47.1
Re: [PATCH v2 04/13] include/exec: Include missing headers in exec-all.h
Quoted 33 lines · Philippe Mathieu-Daudé
"
exec/exec-all.h" declares prototypes such:void *probe_access(CPUArchState *env, vaddr addr, int size, ^^^^^ MMUAccessType access_type, int mmu_idx, uintptr_t retaddr); MemoryRegionSection *iotlb_to_section(CPUState *cpu, hwaddr index, ^^^^^^ MemTxAttrs attrs); ^^^^^^^^^^vaddr is defined in "
exec/vaddr.h", hwaddr in "exec/hwaddr.h" and MemTxAttrs in "exec/memattrs.h". All these headers are indirectly pulled in via "exec/translation-block.h". Since we will remove "exec/translation-block.h" in the next commit, include the missing ones, otherwise we'd get errors such:
include/exec/exec-all.h:51:1: error: unknown type name 'hwaddr'
51 | hwaddr memory_region_section_get_iotlb(CPUState *cpu,
| ^Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- include/exec/exec-all.h | 3 +++ 1 file changed, 3 insertions(+)include/exec/exec-all.h +0
-0@@ -20,8 +20,11 @@#ifndef EXEC_ALL_H
include/exec/exec-all.h line 30
Quoted 10 lines
include/exec/exec-all.h +3
-0#define EXEC_ALL_H +#include "exec/hwaddr.h" +#include "exec/memattrs.h" #include "exec/mmu-access-type.h" #include "exec/translation-block.h" +#include "exec/vaddr.h" #if defined(CONFIG_TCG )#include "accel/tcg/getpc.h"
ATB,
Mark.
PATCH v2 5/13 include/exec: Move tb_invalidate_phys_range to translation-block.h
In reply to Philippe Mathieu-DaudéFrom: Richard Henderson <[email protected]>
Message-ID: <[email protected]>
--- include/exec/exec-all.h | 5 ----- include/exec/translation-block.h | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-)
include/exec/exec-all.h +0 -5
@@ -23,7 +23,6 @@#include "exec/hwaddr.h" #include "exec/memattrs.h" #include "exec/mmu-access-type.h" -#include "exec/translation-block.h" #include "exec/vaddr.h" #if defined(CONFIG_TCG )
@@ -123,10 +122,6 @@ int probe_access_full_mmu(CPUArchState *env, vaddr addr, int size,#endif /* !CONFIG_USER_ONLY */ #endif /* CONFIG_TCG */ -/* TranslationBlock invalidate API */ -void tb_invalidate_phys_range (CPUState *cpu,tb_page_addr_t start, -tb_page_addr_t last); -#if !defined(CONFIG_USER_ONLY )/**
include/exec/translation-block.h +4 -0
@@ -207,4 +207,8 @@ static inline void tb_set_page_addr1(TranslationBlock *tb, #endif } +/* TranslationBlock invalidate API */ +void tb_invalidate_phys_range (CPUState *cpu,tb_page_addr_t start, +tb_page_addr_t last); +#endif /* EXEC_TRANSLATION_BLOCK_H */
Signature · 1 line
2.47.1
PATCH v2 6/13 accel/tcg: Compile tb-maint.c twice
In reply to Philippe Mathieu-DaudéFrom: Richard Henderson <[email protected]>
Message-ID: <[email protected]>
--- accel/tcg/tb-hash.h | 3 +-- accel/tcg/tb-maint.c | 2 -- accel/tcg/meson.build | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-)
accel/tcg/tb-hash.h +1 -2
@@ -20,8 +20,7 @@#ifndef EXEC_TB_HASH_H #define EXEC_TB_HASH_H -#include "exec/cpu-defs.h" -#include "exec/exec-all.h" +#include "exec/vaddr.h" #include "exec/target_page.h" #include "exec/translation-block.h" #include "qemu/xxhash.h"
accel/tcg/tb-maint.c +0 -2
@@ -20,10 +20,8 @@#include "qemu/osdep.h" #include "qemu/interval-tree.h" #include "qemu/qtree.h" -#include "cpu.h" #include "exec/cputlb.h" #include "exec/log.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/mmap-lock.h" #include "exec/tb-flush.h"
accel/tcg/meson.build +1 -1
@@ -8,6 +8,7 @@ tcg_ss.add(files( 'cpu-exec-common.c', 'tcg-runtime.c', 'tcg-runtime-gvec.c', + 'tb-maint.c', 'translator.c', )) if get_option('plugins')
@@ -21,7 +22,6 @@ tcg_specific_ss = ss.source_set() tcg_specific_ss.add(files( 'tcg-all.c', 'cpu-exec.c', - 'tb-maint.c', 'translate-all.c', )) tcg_specific_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-exec.c'))
Signature · 1 line
2.47.1
PATCH v2 7/13 target/riscv: Include missing 'accel/tcg/getpc.h' in csr.c
In reply to Philippe Mathieu-Daudé"accel/tcg/getpc.h" is pulled in indirectly. Include it explicitly to avoid when refactoring unrelated headers:
target/riscv/csr.c:2117:25: error: call to undeclared function 'GETPC' [-Wimplicit-function-declaration]
2117 | if ((val & RVC) && (GETPC() & ~3) != 0) {
| ^
--- target/riscv/csr.c | 1 + 1 file changed, 1 insertion(+)
target/riscv/csr.c +1 -0
@@ -28,6 +28,7 @@#include "exec/cputlb.h" #include "exec/tb-flush.h" #include "exec/icount.h" +#include "accel/tcg/getpc.h" #include "qemu/guest-random.h" #include "qapi/error.h" #include <stdbool.h>
Signature · 1 line
2.47.1
Re: [PATCH v2 07/13] target/riscv: Include missing 'accel/tcg/getpc.h' in csr.c
+qemu-riscv list
Quoted 24 lines · Philippe Mathieu-Daudé
"
accel/tcg/getpc.h" is pulled in indirectly. Include it explicitly to avoid when refactoring unrelated headers:
target/riscv/csr.c:2117:25: error: call to undeclared function 'GETPC' [-Wimplicit-function-declaration]2117 | if ((val & RVC) && (GETPC() & ~3) != 0) { | ^Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- target/riscv/csr.c | 1 + 1 file changed, 1 insertion(+)target/riscv/csr.c +1
-0@@ -28,6 +28,7 @@#include "exec/cputlb.h" #include "exec/tb-flush.h" #include "exec/icount.h" +#include "accel/tcg/getpc.h" #include "qemu/guest-random.h" #include "qapi/error.h" #include <stdbool.h>
Re: [PATCH v2 07/13] target/riscv: Include missing 'accel/tcg/getpc.h' in csr.c
In reply to Philippe Mathieu-DaudéQuoted 17 lines · Philippe Mathieu-Daudé
"
accel/tcg/getpc.h" is pulled in indirectly. Include it explicitly to avoid when refactoring unrelated headers:
target/riscv/csr.c:2117:25: error: call to undeclared function 'GETPC' [-Wimplicit-function-declaration]2117 | if ((val & RVC) && (GETPC() & ~3) != 0) { | ^Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- target/riscv/csr.c | 1 + 1 file changed, 1 insertion(+)target/riscv/csr.c +0
-0
target/riscv/csr.c line 34
Quoted 7 lines
target/riscv/csr.c +1
-0@@ -28,6 +28,7 @@#include "exec/cputlb.h" #include "exec/tb-flush.h" #include "exec/icount.h" +#include "accel/tcg/getpc.h" #include "qemu/guest-random.h" #include "qapi/error.h" #include <stdbool.h>
I'm mildly curious as to why the target needs to include accel/tcg/getpc.h directly as it's almost a requirement for TCG, but sure:
ATB,
Mark.
Re: [PATCH v2 07/13] target/riscv: Include missing 'accel/tcg/getpc.h' in csr.c
Quoted 14 lines · Mark Cave-Ayland
Quoted 12 lines · Philippe Mathieu-Daudé
"
accel/tcg/getpc.h" is pulled in indirectly. Include it explicitly to avoid when refactoring unrelated headers:
target/riscv/csr.c:2117:25: error: call to undeclared function 'GETPC' [-Wimplicit-function-declaration] 2117 | if ((val & RVC) && (GETPC()& ~3) != 0) {
| ^Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
target/riscv/csr.c| 1 +1 file changed, 1 insertion(+)
Quoted 14 lines
target/riscv/csr.c line 34
Quoted 12 lines
target/riscv/csr.c +1
-0@@ -28,6 +28,7 @@ #include "exec/cputlb.h" #include "exec/tb-flush.h" #include "exec/icount.h" +#include "accel/tcg/getpc.h" #include "qemu/guest-random.h" #include "qapi/error.h" #include <stdbool.h>I'm mildly curious as to why the target needs to include accel/tcg/
getpc.hdirectly as it's almost a requirement for TCG
Indeed. There is a TODO around, added upon introduction in commit f18637cd611 ("RISC-V: Add misa runtime write support"):
2113 /*
2114 * Suppress 'C' if next instruction is not aligned 2115 * TODO: this should check next_pc 2116 */
2117 if ((val & RVC) && (GETPC() & ~3) != 0) {
2118 val &= ~RVC;
2119 }
Quoted 1 line
Reviewed-by Mark Cave-Ayland <[email protected]>
Thanks!
Re: [PATCH v2 07/13] target/riscv: Include missing 'accel/tcg/getpc.h' in csr.c
Quoted 33 lines · Philippe Mathieu-Daudé
Quoted 14 lines · Mark Cave-Ayland
Quoted 12 lines · Philippe Mathieu-Daudé
"
accel/tcg/getpc.h" is pulled in indirectly. Include it explicitly to avoid when refactoring unrelated headers:
target/riscv/csr.c:2117:25: error: call to undeclared function 'GETPC' [-Wimplicit- function-declaration] 2117 | if ((val & RVC) && (GETPC()& ~3) != 0) {
| ^Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
target/riscv/csr.c| 1 +1 file changed, 1 insertion(+)Quoted 14 lines
target/riscv/csr.c line 34
Quoted 12 lines
target/riscv/csr.c +1
-0@@ -28,6 +28,7 @@ #include "exec/cputlb.h" #include "exec/tb-flush.h" #include "exec/icount.h" +#include "accel/tcg/getpc.h" #include "qemu/guest-random.h" #include "qapi/error.h" #include <stdbool.h>I'm mildly curious as to why the target needs to include accel/tcg/
getpc.hdirectly as it's almost a requirement for TCGIndeed. There is a TODO around, added upon introduction in commit
f18637cd611("RISC-V: Add misa runtime write support"):
Quoted 7 lines
2113 /*
2114 * Suppress 'C' if next instruction is not aligned 2115 * TODO: this should checknext_pc
2116 */
2117 if ((val & RVC) && (GETPC()& ~3) != 0) { 2118 val &= ~RVC;
2119 }
Yes, I've sent mail about this bug at least twice.
r~
Re: [PATCH v2 07/13] target/riscv: Include missing 'accel/tcg/getpc.h' in csr.c
In reply to Philippe Mathieu-DaudéQuoted 9 lines · Philippe Mathieu-Daudé
"
accel/tcg/getpc.h" is pulled in indirectly. Include it explicitly to avoid when refactoring unrelated headers:
target/riscv/csr.c:2117:25: error: call to undeclared function 'GETPC' [-Wimplicit-function-declaration]
2117 | if ((val & RVC) && (GETPC()& ~3) != 0) {
| ^Signed-off-by Philippe Mathieu-Daudé <[email protected]>
Alistair
Quoted 20 lines
--- target/riscv/csr.c | 1 + 1 file changed, 1 insertion(+)target/riscv/csr.c +1
-1@@ -28,6 +28,7 @@#include "exec/cputlb.h" #include "exec/tb-flush.h" #include "exec/icount.h" +#include "accel/tcg/getpc.h" #include "qemu/guest-random.h" #include "qapi/error.h" #include <stdbool.h> --2.47.1
PATCH v2 8/13 target/hexagon: Include missing 'accel/tcg/getpc.h'
In reply to Philippe Mathieu-DaudéSince the macros.h headers call GETPC(), they need to include "accel/tcg/getpc.h", which defines it.
--- target/hexagon/macros.h | 1 + target/hexagon/mmvec/macros.h | 1 + 2 files changed, 2 insertions(+)
target/hexagon/macros.h +1 -0
@@ -21,6 +21,7 @@#include "cpu.h" #include "hex_regs.h" #include "reg_fields.h" +#include "accel/tcg/getpc.h" #define GET_FIELD (FIELD ,REGIN ) \ fEXTRACTU_BITS(REGIN, reg_field_info[FIELD].width, \
target/hexagon/mmvec/macros.h +1 -0
@@ -21,6 +21,7 @@#include "qemu/host-utils.h" #include "arch.h" #include "mmvec/system_ext_mmvec.h" +#include "accel/tcg/getpc.h" #ifndef QEMU_GENERATE #define VdV (*(MMVector *restrict)(VdV_void))
Signature · 1 line
2.47.1
Re: [PATCH v2 08/13] target/hexagon: Include missing 'accel/tcg/getpc.h'
Quoted 26 lines · Philippe Mathieu-Daudé
Since the
macros.hheaders callGETPC(), they need to include "accel/tcg/getpc.h", which defines it.Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- target/hexagon/macros.h | 1 + target/hexagon/mmvec/macros.h | 1 + 2 files changed, 2 insertions(+)target/hexagon/macros.h +1
-0@@ -21,6 +21,7 @@#include "cpu.h" #include "hex_regs.h" #include "reg_fields.h" +#include "accel/tcg/getpc.h" #define GET_FIELD (FIELD ,REGIN ) \ fEXTRACTU_BITS(REGIN, reg_field_info[FIELD].width, \target/hexagon/mmvec/macros.h +0
-0
target/hexagon/mmvec/macros.h line 27
Quoted 7 lines
target/hexagon/mmvec/macros.h +1
-0@@ -21,6 +21,7 @@#include "qemu/host-utils.h" #include "arch.h" #include "mmvec/system_ext_mmvec.h" +#include "accel/tcg/getpc.h" #ifndef QEMU_GENERATE #define VdV (*(MMVector *restrict)(VdV_void))
ATB,
Mark.
Re: [PATCH v2 08/13] target/hexagon: Include missing 'accel/tcg/getpc.h'
In reply to Philippe Mathieu-DaudéQuoted 5 lines · Philippe Mathieu-Daudé
Since the
macros.hheaders callGETPC(), they need to include "accel/tcg/getpc.h", which defines it.Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
Quoted 28 lines
target/hexagon/macros.h | 1 + target/hexagon/mmvec/macros.h | 1 + 2 files changed, 2 insertions(+)target/hexagon/macros.h +1
-0@@ -21,6 +21,7 @@#include "cpu.h" #include "hex_regs.h" #include "reg_fields.h" +#include "accel/tcg/getpc.h" #define GET_FIELD (FIELD ,REGIN ) \ fEXTRACTU_BITS(REGIN, reg_field_info[FIELD].width, \target/hexagon/mmvec/macros.h +1
-0@@ -21,6 +21,7 @@#include "qemu/host-utils.h" #include "arch.h" #include "mmvec/system_ext_mmvec.h" +#include "accel/tcg/getpc.h" #ifndef QEMU_GENERATE #define VdV (*(MMVector *restrict)(VdV_void))
PATCH v2 9/13 accel/tcg: Include 'accel/tcg/getpc.h' in 'exec/helper-proto'
In reply to Philippe Mathieu-DaudéMost files including "exec/helper-proto.h" call GETPC(). Include it there (in the common part) instead of the unspecific "exec/exec-all.h" header.
--- include/exec/exec-all.h | 1 - include/exec/helper-proto-common.h | 2 ++ accel/tcg/translate-all.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-)
include/exec/exec-all.h +0 -1
@@ -26,7 +26,6 @@#include "exec/vaddr.h" #if defined(CONFIG_TCG ) -#include "accel/tcg/getpc.h" /** * probe_access:
include/exec/helper-proto-common.h +2 -0
@@ -13,4 +13,6 @@#include "exec/helper-proto.h.inc" #undef HELPER_H +#include "accel/tcg/getpc.h" +#endif /* HELPER_PROTO_COMMON_H */
accel/tcg/translate-all.c +1 -0
@@ -61,6 +61,7 @@#include "system/tcg.h" #include "qapi/error.h" #include "accel/tcg/cpu-ops.h" +#include "accel/tcg/getpc.h" #include "tb-jmp-cache.h" #include "tb-hash.h" #include "tb-context.h"
Signature · 1 line
2.47.1
Re: [PATCH v2 09/13] accel/tcg: Include 'accel/tcg/getpc.h' in 'exec/helper-proto'
Quoted 3 lines · Philippe Mathieu-Daudé
Most files including "
exec/helper-proto.h" callGETPC(). Include it there (in the common part) instead of the unspecific "exec/exec-all.h" header.
Aha!
Quoted 35 lines
Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- include/exec/exec-all.h | 1 - include/exec/helper-proto-common.h | 2 ++ accel/tcg/translate-all.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-)include/exec/exec-all.h +0
-1@@ -26,7 +26,6 @@#include "exec/vaddr.h" #if defined(CONFIG_TCG ) -#include "accel/tcg/getpc.h" /** * probe_access: include/exec/helper-proto-common.h +2
-0@@ -13,4 +13,6 @@#include "exec/helper-proto.h.inc" #undef HELPER_H +#include "accel/tcg/getpc.h" +#endif /* HELPER_PROTO_COMMON_H */ accel/tcg/translate-all.c +0
-0
accel/tcg/translate-all.c line 67
Quoted 7 lines
accel/tcg/translate-all.c +1
-0@@ -61,6 +61,7 @@#include "system/tcg.h" #include "qapi/error.h" #include "accel/tcg/cpu-ops.h" +#include "accel/tcg/getpc.h" #include "tb-jmp-cache.h" #include "tb-hash.h" #include "tb-context.h"
Moving accel/tcg/getpc.h to a more commonly used TCG header seems like the right idea, but then shouldn't that mean the direct includes from targets added in the previous commits can now be removed?
ATB,
Mark.
Re: [PATCH v2 09/13] accel/tcg: Include 'accel/tcg/getpc.h' in 'exec/helper-proto'
Quoted 41 lines · Mark Cave-Ayland
Quoted 3 lines · Philippe Mathieu-Daudé
Most files including "
exec/helper-proto.h" callGETPC(). Include it there (in the common part) instead of the unspecific "exec/exec-all.h" header.Aha!
Quoted 33 lines
Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
include/exec/exec-all.h | 1 -
include/exec/helper-proto-common.h| 2 ++
accel/tcg/translate-all.c | 1 +3 files changed, 3 insertions(+), 1 deletion(-)include/exec/exec-all.h +0
-1@@ -26,7 +26,6 @@ #include "exec/vaddr.h" #if defined(CONFIG_TCG) -#include "accel/tcg/getpc.h" /*** probe_access: include/exec/helper-proto-common.h +2
-0@@ -13,4 +13,6 @@ #include "exec/helper-proto.h.inc" #undef HELPER_H +#include "accel/tcg/getpc.h" + #endif /* HELPER_PROTO_COMMON_H */accel/tcg/translate-all.c +0
-0@@ -61,6 +61,7 @@ #include "system/tcg.h"
Quoted 8 lines
accel/tcg/translate-all.c line 67
Quoted 6 lines
accel/tcg/translate-all.c +1
-0#include "qapi/error.h" #include "accel/tcg/cpu-ops.h" +#include "accel/tcg/getpc.h" #include "tb-jmp-cache.h" #include "tb-hash.h" #include "tb-context.h"Moving
accel/tcg/getpc.hto a more commonly used TCG header seems like the right idea, but then shouldn't that mean the direct includes from targets added in the previous commits can now be removed?
$ git grep -l exec/helper-proto $(git grep -l accel/tcg/getpc.h) accel/tcg/tcg-runtime.c target/avr/helper.c
OK, I'll remove it from these 2 files.
Re: [PATCH v2 09/13] accel/tcg: Include 'accel/tcg/getpc.h' in 'exec/helper-proto'
Quoted 42 lines · Philippe Mathieu-Daudé
Quoted 41 lines · Mark Cave-Ayland
Quoted 3 lines · Philippe Mathieu-Daudé
Most files including "
exec/helper-proto.h" callGETPC(). Include it there (in the common part) instead of the unspecific "exec/exec-all.h" header.Aha!
Quoted 33 lines
Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
include/exec/exec-all.h | 1 -
include/exec/helper-proto-common.h| 2 ++
accel/tcg/translate-all.c | 1 +3 files changed, 3 insertions(+), 1 deletion(-)include/exec/exec-all.h +0
-1@@ -26,7 +26,6 @@ #include "exec/vaddr.h" #if defined(CONFIG_TCG) -#include "accel/tcg/getpc.h" /*** probe_access: include/exec/helper-proto-common.h +2
-0@@ -13,4 +13,6 @@ #include "exec/helper-proto.h.inc" #undef HELPER_H +#include "accel/tcg/getpc.h" + #endif /* HELPER_PROTO_COMMON_H */accel/tcg/translate-all.c +0
-0@@ -61,6 +61,7 @@ #include "system/tcg.h"
Quoted 8 lines
Quoted 8 lines
accel/tcg/translate-all.c line 67
Quoted 6 lines
accel/tcg/translate-all.c +1
-0#include "qapi/error.h" #include "accel/tcg/cpu-ops.h" +#include "accel/tcg/getpc.h" #include "tb-jmp-cache.h" #include "tb-hash.h" #include "tb-context.h"Moving
accel/tcg/getpc.hto a more commonly used TCG header seems like the right idea, but then shouldn't that mean the direct includes from targets added in the previous commits can now be removed?
The files from the previous patch don't include "exec/helper-proto*.h".
Quoted 5 lines
$ git grep -l exec/helper-proto $(git grep -l accel/tcg/getpc.h) accel/tcg/tcg-runtime.c target/avr/helper.cOK, I'll remove it from these 2 files.
PATCH v2 10/13 physmem: Move TCG IOMMU methods around
In reply to Philippe Mathieu-DaudéThe next commit will restrict TCG specific code in physmem.c using some #ifdef'ry. In order to keep it simple, move iotlb_to_section() and memory_region_section_get_iotlb() around close together.
--- system/physmem.c | 50 ++++++++++++++++++++++++------------------------ 1 file changed, 25 insertions(+), 25 deletions(-)
system/physmem.c +25 -25
@@ -746,6 +746,31 @@ translate_fail:return &d->map.sections[PHYS_SECTION_UNASSIGNED ]; } +MemoryRegionSection *iotlb_to_section (CPUState *cpu, +hwaddr index,MemTxAttrs attrs) +{ +int asidx =cpu_asidx_from_attrs (cpu, attrs); +CPUAddressSpace *cpuas = &cpu->cpu_ases[asidx]; +AddressSpaceDispatch *d = cpuas->memory_dispatch; +int section_index = index & ~TARGET_PAGE_MASK ; +MemoryRegionSection *ret; + +assert (section_index < d->map.sections_nb); + ret = d->map.sections + section_index; +assert (ret->mr); +assert (ret->mr->ops); + +return ret; +} + +/* Called from RCU critical section */ +hwaddr memory_region_section_get_iotlb (CPUState *cpu, +MemoryRegionSection *section) +{ +AddressSpaceDispatch *d =flatview_to_dispatch (section->fv); +return section - d->map.sections; +} +void cpu_address_space_init (CPUState *cpu,int asidx,const char *prefix,MemoryRegion *mr) {
@@ -1002,14 +1027,6 @@ bool cpu_physical_memory_snapshot_get_dirty(DirtyBitmapSnapshot *snap,return false; } -/* Called from RCU critical section */ -hwaddr memory_region_section_get_iotlb (CPUState *cpu, -MemoryRegionSection *section) -{ -AddressSpaceDispatch *d =flatview_to_dispatch (section->fv); -return section - d->map.sections; -} -static int subpage_register (subpage_t *mmio,uint32_t start,uint32_t end,uint16_t section);static subpage_t *subpage_init (FlatView *fv,hwaddr base);
@@ -2669,23 +2686,6 @@ static uint16_t dummy_section(PhysPageMap *map, FlatView *fv, MemoryRegion *mr)return phys_section_add (map, §ion); } -MemoryRegionSection *iotlb_to_section (CPUState *cpu, -hwaddr index,MemTxAttrs attrs) -{ -int asidx =cpu_asidx_from_attrs (cpu, attrs); -CPUAddressSpace *cpuas = &cpu->cpu_ases[asidx]; -AddressSpaceDispatch *d = cpuas->memory_dispatch; -int section_index = index & ~TARGET_PAGE_MASK ; -MemoryRegionSection *ret; - -assert (section_index < d->map.sections_nb); - ret = d->map.sections + section_index; -assert (ret->mr); -assert (ret->mr->ops); - -return ret; -} -static void io_mem_init (void ) { memory_region_init_io(&io_mem_unassigned, NULL, &unassigned_mem_ops, NULL,
Signature · 1 line
2.47.1
Re: [PATCH v2 10/13] physmem: Move TCG IOMMU methods around
Quoted 76 lines · Philippe Mathieu-Daudé
The next commit will restrict TCG specific code in
physmem.cusing some #ifdef'ry. In order to keep it simple, moveiotlb_to_section()andmemory_region_section_get_iotlb()around close together.Signed-off-by Philippe Mathieu-Daudé <[email protected]>Reviewed-by Richard Henderson <[email protected]>--- system/physmem.c | 50 ++++++++++++++++++++++++------------------------ 1 file changed, 25 insertions(+), 25 deletions(-)system/physmem.c +25
-18@@ -746,6 +746,31 @@ translate_fail:return &d->map.sections[PHYS_SECTION_UNASSIGNED ]; } +MemoryRegionSection *iotlb_to_section (CPUState *cpu, +hwaddr index,MemTxAttrs attrs) +{ +int asidx =cpu_asidx_from_attrs (cpu, attrs); +CPUAddressSpace *cpuas = &cpu->cpu_ases[asidx]; +AddressSpaceDispatch *d = cpuas->memory_dispatch; +int section_index = index & ~TARGET_PAGE_MASK ; +MemoryRegionSection *ret; + +assert (section_index < d->map.sections_nb); + ret = d->map.sections + section_index; +assert (ret->mr); +assert (ret->mr->ops); + +return ret; +} + +/* Called from RCU critical section */ +hwaddr memory_region_section_get_iotlb (CPUState *cpu, +MemoryRegionSection *section) +{ +AddressSpaceDispatch *d =flatview_to_dispatch (section->fv); +return section - d->map.sections; +} +void cpu_address_space_init (CPUState *cpu,int asidx,const char *prefix,MemoryRegion *mr) {@@ -1002,14 +1027,6 @@ bool cpu_physical_memory_snapshot_get_dirty(DirtyBitmapSnapshot *snap,return false; } -/* Called from RCU critical section */ -hwaddr memory_region_section_get_iotlb (CPUState *cpu, -MemoryRegionSection *section) -{ -AddressSpaceDispatch *d =flatview_to_dispatch (section->fv); -return section - d->map.sections; -} -static int subpage_register (subpage_t *mmio,uint32_t start,uint32_t end,uint16_t section);static subpage_t *subpage_init (FlatView *fv,hwaddr base);@@ -2669,23 +2686,6 @@ static uint16_t dummy_section(PhysPageMap *map, FlatView *fv, MemoryRegion *mr)return phys_section_add (map, §ion); } -MemoryRegionSection *iotlb_to_section (CPUState *cpu, -hwaddr index,MemTxAttrs attrs) -{ -int asidx =cpu_asidx_from_attrs (cpu, attrs); -CPUAddressSpace *cpuas = &cpu->cpu_ases[asidx]; -AddressSpaceDispatch *d = cpuas->memory_dispatch; -int section_index = index & ~TARGET_PAGE_MASK ; -MemoryRegionSection *ret; - -assert (section_index < d->map.sections_nb);
system/physmem.c static uint16_t dummy_section(PhysPageMap *map, FlatView *fv, MemoryRegion *mr) · line 2691
Quoted 10 lines
system/physmem.c +0
-7- ret = d->map.sections + section_index; -assert (ret->mr); -assert (ret->mr->ops); - -return ret; -} -static void io_mem_init (void ) { memory_region_init_io(&io_mem_unassigned, NULL, &unassigned_mem_ops, NULL,
Shouldn't that be IOTLB rather than IOMMU in the subject line? Otherwise:
ATB,
Mark.
PATCH v2 11/13 physmem: Restrict TCG IOMMU code to TCG accel
In reply to Philippe Mathieu-DaudéRestrict iotlb_to_section(), address_space_translate_for_iotlb() and memory_region_section_get_iotlb() to TCG. Declare them in the new "accel/tcg/iommu.h" header. Declare iotlb_to_section() using the MemoryRegionSection typedef.
--- MAINTAINERS | 2 +- include/accel/tcg/iommu.h | 41 +++++++++++++++++++++++++++++++++++++++ include/exec/exec-all.h | 26 ------------------------- accel/tcg/cputlb.c | 1 + system/physmem.c | 5 +++++ 5 files changed, 48 insertions(+), 27 deletions(-) create mode 100644 include/accel/tcg/iommu.h
MAINTAINERS +1 -1
@@ -168,7 +168,7 @@ F: include/exec/helper*.h.inc F: include/exec/helper-info.c.inc F: include/exec/page-protection.h F: include/system/tcg.h -F: include/accel/tcg/cpu-ops.h +F: include/accel/tcg/ F: host/include/*/host/cpuinfo.h F: util/cpuinfo-*.c F: include/tcg/
include/accel/tcg/iommu.h new file +41 -0
41 lines not on this page · raw message
include/exec/exec-all.h +0 -26
@@ -21,7 +21,6 @@#define EXEC_ALL_H #include "exec/hwaddr.h" -#include "exec/memattrs.h" #include "exec/mmu-access-type.h" #include "exec/vaddr.h"
@@ -121,29 +120,4 @@ int probe_access_full_mmu(CPUArchState *env, vaddr addr, int size,#endif /* !CONFIG_USER_ONLY */ #endif /* CONFIG_TCG */ -#if !defined(CONFIG_USER_ONLY ) - -/** -* iotlb_to_section: -* @cpu: CPU performing the access -* @index: TCG CPU IOTLB entry -* -* Given a TCG CPU IOTLB entry, return the MemoryRegionSection that -* it refers to. @index will have been initially created and returned -* by memory_region_section_get_iotlb(). -*/ -struct MemoryRegionSection *iotlb_to_section (CPUState *cpu, -hwaddr index,MemTxAttrs attrs); -#endif - -#if !defined(CONFIG_USER_ONLY ) - -MemoryRegionSection * -address_space_translate_for_iotlb (CPUState *cpu,int asidx,hwaddr addr, -hwaddr *xlat,hwaddr *plen, -MemTxAttrs attrs,int *prot); -hwaddr memory_region_section_get_iotlb (CPUState *cpu, -MemoryRegionSection *section); -#endif -#endif
accel/tcg/cputlb.c +1 -0
@@ -20,6 +20,7 @@#include "qemu/osdep.h" #include "qemu/main-loop.h" #include "accel/tcg/cpu-ops.h" +#include "accel/tcg/iommu.h" #include "exec/exec-all.h" #include "exec/page-protection.h" #include "system/memory.h"
system/physmem.c +5 -0
@@ -29,6 +29,7 @@#ifdef CONFIG_TCG #include "accel/tcg/cpu-ops.h" +#include "accel/tcg/iommu.h" #endif /* CONFIG_TCG */ #include "exec/exec-all.h"
@@ -587,6 +588,8 @@ MemoryRegion *flatview_translate(FlatView *fv, hwaddr addr, hwaddr *xlat,return mr; } +#ifdef CONFIG_TCG + typedef struct TCGIOMMUNotifier { IOMMUNotifier n; MemoryRegion *mr;
@@ -771,6 +774,8 @@ hwaddr memory_region_section_get_iotlb(CPUState *cpu, return section - d->map.sections; } +#endif /* CONFIG_TCG */ +void cpu_address_space_init (CPUState *cpu,int asidx,const char *prefix,MemoryRegion *mr) {
Signature · 1 line
2.47.1
Re: [PATCH v2 11/13] physmem: Restrict TCG IOMMU code to TCG accel
Quoted 151 lines · Philippe Mathieu-Daudé
Restrict
iotlb_to_section(),address_space_translate_for_iotlb()andmemory_region_section_get_iotlb()to TCG. Declare them in the new "accel/tcg/iommu.h" header. Declareiotlb_to_section()using the MemoryRegionSection typedef.Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- MAINTAINERS | 2 +- include/accel/tcg/iommu.h | 41 +++++++++++++++++++++++++++++++++++++++ include/exec/exec-all.h | 26 ------------------------- accel/tcg/cputlb.c | 1 + system/physmem.c | 5 +++++ 5 files changed, 48 insertions(+), 27 deletions(-)create mode 100644
include/accel/tcg/iommu.hMAINTAINERS +1
-1@@ -168,7 +168,7 @@ F: include/exec/helper*.h.inc F: include/exec/helper-info.c.inc F: include/exec/page-protection.h F: include/system/tcg.h -F: include/accel/tcg/cpu-ops.h +F: include/accel/tcg/ F: host/include/*/host/cpuinfo.h F: util/cpuinfo-*.c F: include/tcg/include/accel/tcg/iommu.h new file +41
-0@@ -0,0 +1,41 @@ +/* +* TCG IOMMU translations. +* +* Copyright (c) 2003 Fabrice Bellard +* SPDX-License-Identifier: LGPL-2.1-or-later +*/ +#ifndef ACCEL_TCG_IOMMU_H +#define ACCEL_TCG_IOMMU_H + +#ifdef CONFIG_USER_ONLY +#error Cannot include accel/tcg/iommu.h from user emulation +#endif + +#include "exec/hwaddr.h" +#include "exec/memattrs.h" + +/** +* iotlb_to_section: +* @cpu: CPU performing the access +* @index: TCG CPU IOTLB entry +* +* Given a TCG CPU IOTLB entry, return the MemoryRegionSection that +* it refers to. @index will have been initially created and returned +* by memory_region_section_get_iotlb(). +*/ +MemoryRegionSection *iotlb_to_section (CPUState *cpu, +hwaddr index,MemTxAttrs attrs); + +MemoryRegionSection *address_space_translate_for_iotlb (CPUState *cpu, +int asidx, +hwaddr addr, +hwaddr *xlat, +hwaddr *plen, +MemTxAttrs attrs, +int *prot); + +hwaddr memory_region_section_get_iotlb (CPUState *cpu, +MemoryRegionSection *section); + +#endif +include/exec/exec-all.h +0
-26@@ -21,7 +21,6 @@#define EXEC_ALL_H #include "exec/hwaddr.h" -#include "exec/memattrs.h" #include "exec/mmu-access-type.h" #include "exec/vaddr.h" @@ -121,29 +120,4 @@ int probe_access_full_mmu(CPUArchState *env, vaddr addr, int size,#endif /* !CONFIG_USER_ONLY */ #endif /* CONFIG_TCG */ -#if !defined(CONFIG_USER_ONLY ) - -/** -* iotlb_to_section: -* @cpu: CPU performing the access -* @index: TCG CPU IOTLB entry -* -* Given a TCG CPU IOTLB entry, return the MemoryRegionSection that -* it refers to. @index will have been initially created and returned -* by memory_region_section_get_iotlb(). -*/ -struct MemoryRegionSection *iotlb_to_section (CPUState *cpu, -hwaddr index,MemTxAttrs attrs); -#endif - -#if !defined(CONFIG_USER_ONLY ) - -MemoryRegionSection * -address_space_translate_for_iotlb (CPUState *cpu,int asidx,hwaddr addr, -hwaddr *xlat,hwaddr *plen, -MemTxAttrs attrs,int *prot); -hwaddr memory_region_section_get_iotlb (CPUState *cpu, -MemoryRegionSection *section); -#endif -#endif accel/tcg/cputlb.c +1
-0@@ -20,6 +20,7 @@#include "qemu/osdep.h" #include "qemu/main-loop.h" #include "accel/tcg/cpu-ops.h" +#include "accel/tcg/iommu.h" #include "exec/exec-all.h" #include "exec/page-protection.h" #include "system/memory.h" system/physmem.c +3
-0@@ -29,6 +29,7 @@#ifdef CONFIG_TCG #include "accel/tcg/cpu-ops.h" +#include "accel/tcg/iommu.h" #endif /* CONFIG_TCG */ #include "exec/exec-all.h" @@ -587,6 +588,8 @@ MemoryRegion *flatview_translate(FlatView *fv, hwaddr addr, hwaddr *xlat,return mr; } +#ifdef CONFIG_TCG + typedef struct TCGIOMMUNotifier { IOMMUNotifier n; MemoryRegion *mr;
system/physmem.c hwaddr memory_region_section_get_iotlb(CPUState *cpu, · line 781
Quoted 8 lines
system/physmem.c +2
-0@@ -771,6 +774,8 @@ hwaddr memory_region_section_get_iotlb(CPUState *cpu, return section - d->map.sections; } +#endif /* CONFIG_TCG */ +void cpu_address_space_init (CPUState *cpu,int asidx,const char *prefix,MemoryRegion *mr) {
Following on from my comment on the previous patch, it looks like this is still IOTLB as opposed to IOMMU?
ATB,
Mark.
PATCH v2 12/13 accel/tcg: Extract probe API out of 'exec/exec-all.h'
In reply to Philippe Mathieu-DaudéDeclare probe methods in "accel/tcg/probe.h" to emphasize they are specific to TCG accelerator.
target/arm/ptw.c is the only non-TCG specific file, its call to the probe API is already guarded within CONFIG_TCG checks.
--- include/accel/tcg/probe.h | 110 +++++++++++++++++++++++++++ include/exec/exec-all.h | 100 ------------------------ target/hexagon/mmvec/macros.h | 1 + accel/tcg/cputlb.c | 1 + accel/tcg/user-exec.c | 1 + semihosting/uaccess.c | 1 + target/arm/helper.c | 1 + target/arm/ptw.c | 3 + target/arm/tcg/helper-a64.c | 1 + target/arm/tcg/mte_helper.c | 1 + target/arm/tcg/op_helper.c | 1 + target/arm/tcg/sve_helper.c | 1 + target/hexagon/op_helper.c | 1 + target/hppa/mem_helper.c | 1 + target/hppa/op_helper.c | 1 + target/i386/tcg/access.c | 1 + target/i386/tcg/seg_helper.c | 1 + target/i386/tcg/system/excp_helper.c | 1 + target/mips/tcg/msa_helper.c | 1 + target/ppc/mem_helper.c | 1 + target/riscv/op_helper.c | 1 + target/riscv/vector_helper.c | 1 + target/s390x/tcg/mem_helper.c | 1 + target/xtensa/mmu_helper.c | 1 + 24 files changed, 134 insertions(+), 100 deletions(-) create mode 100644 include/accel/tcg/probe.h
include/accel/tcg/probe.h new file +110 -0
@@ -0,0 +1,110 @@ +/* +* Probe guest virtual addresses for access permissions. +* +* Copyright (c) 2003 Fabrice Bellard +* SPDX-License-Identifier: LGPL-2.1-or-later +*/ +#ifndef ACCEL_TCG_PROBE_H +#define ACCEL_TCG_PROBE_H + +#ifndef CONFIG_TCG +#error Can only include this header with TCG +#endif + +#include "exec/mmu-access-type.h" +#include "exec/vaddr.h" + +/** +* probe_access: +* @env: CPUArchState +* @addr: guest virtual address to look up +* @size: size of the access +* @access_type: read, write or execute permission +* @mmu_idx: MMU index to use for lookup +* @retaddr: return address for unwinding +* +* Look up the guest virtual address @addr. Raise an exception if the +* page does not satisfy @access_type. Raise an exception if the +* access (@addr, @size) hits a watchpoint. For writes, mark a clean +* page as dirty. +* +* Finally, return the host address for a page that is backed by RAM, +* or NULL if the page requires I/O. +*/ +void *probe_access (CPUArchState *env,vaddr addr,int size, +MMUAccessType access_type,int mmu_idx,uintptr_t retaddr); + +static inline void *probe_write (CPUArchState *env,vaddr addr,int size, +int mmu_idx,uintptr_t retaddr) +{ +return probe_access (env, addr, size,MMU_DATA_STORE , mmu_idx, retaddr); +} + +static inline void *probe_read (CPUArchState *env,vaddr addr,int size, +int mmu_idx,uintptr_t retaddr) +{ +return probe_access (env, addr, size,MMU_DATA_LOAD , mmu_idx, retaddr); +} + +/** +* probe_access_flags: +* @env: CPUArchState +* @addr: guest virtual address to look up +* @size: size of the access +* @access_type: read, write or execute permission +* @mmu_idx: MMU index to use for lookup +* @nonfault: suppress the fault +* @phost: return value for host address +* @retaddr: return address for unwinding +* +* Similar to probe_access, loosely returning the TLB_FLAGS_MASK for +* the page, and storing the host address for RAM in @phost. +* +* If @nonfault is set, do not raise an exception but return TLB_INVALID_MASK. +* Do not handle watchpoints, but include TLB_WATCHPOINT in the returned flags. +* Do handle clean pages, so exclude TLB_NOTDIRY from the returned flags. +* For simplicity, all "mmio-like" flags are folded to TLB_MMIO. +*/ +int probe_access_flags (CPUArchState *env,vaddr addr,int size, +MMUAccessType access_type,int mmu_idx, +bool nonfault,void **phost,uintptr_t retaddr); + +#ifndef CONFIG_USER_ONLY + +/** +* probe_access_full: +* Like probe_access_flags, except also return into @pfull. +* +* The CPUTLBEntryFull structure returned via @pfull is transient +* and must be consumed or copied immediately, before any further +* access or changes to TLB @mmu_idx. +* +* This function will not fault if @nonfault is set, but will +* return TLB_INVALID_MASK if the page is not mapped, or is not +* accessible with @access_type. +* +* This function will return TLB_MMIO in order to force the access +* to be handled out-of-line if plugins wish to instrument the access. +*/ +int probe_access_full (CPUArchState *env,vaddr addr,int size, +MMUAccessType access_type,int mmu_idx, +bool nonfault,void **phost, +CPUTLBEntryFull **pfull,uintptr_t retaddr); + +/** +* probe_access_full_mmu: +* Like probe_access_full, except: +* +* This function is intended to be used for page table accesses by +* the target mmu itself. Since such page walking happens while +* handling another potential mmu fault, this function never raises +* exceptions (akin to @nonfault true for probe_access_full). +* Likewise this function does not trigger plugin instrumentation. +*/ +int probe_access_full_mmu (CPUArchState *env,vaddr addr,int size, +MMUAccessType access_type,int mmu_idx, +void **phost,CPUTLBEntryFull **pfull); + +#endif /* !CONFIG_USER_ONLY */ + +#endif
include/exec/exec-all.h +0 -100
104 lines not on this page · raw message
target/hexagon/mmvec/macros.h +1 -0
@@ -22,6 +22,7 @@#include "arch.h" #include "mmvec/system_ext_mmvec.h" #include "accel/tcg/getpc.h" +#include "accel/tcg/probe.h" #ifndef QEMU_GENERATE #define VdV (*(MMVector *restrict)(VdV_void))
accel/tcg/cputlb.c +1 -0
@@ -21,6 +21,7 @@#include "qemu/main-loop.h" #include "accel/tcg/cpu-ops.h" #include "accel/tcg/iommu.h" +#include "accel/tcg/probe.h" #include "exec/exec-all.h" #include "exec/page-protection.h" #include "system/memory.h"
accel/tcg/user-exec.c +1 -0
@@ -27,6 +27,7 @@#include "qemu/bitops.h" #include "qemu/rcu.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "user/cpu_loop.h" #include "qemu/main-loop.h" #include "user/page-protection.h"
semihosting/uaccess.c +1 -0
@@ -9,6 +9,7 @@#include "qemu/osdep.h" #include "accel/tcg/cpu-mmu-index.h" +#include "accel/tcg/probe.h" #include "exec/exec-all.h" #include "exec/target_page.h" #include "exec/tlb-flags.h"
target/arm/helper.c +1 -0
@@ -30,6 +30,7 @@#include "qapi/error.h" #include "qemu/guest-random.h" #ifdef CONFIG_TCG +#include "accel/tcg/probe.h" #include "semihosting/common-semi.h" #endif #include "cpregs.h"
target/arm/ptw.c +3 -0
@@ -14,6 +14,9 @@#include "exec/page-protection.h" #include "exec/target_page.h" #include "exec/tlb-flags.h" +#ifdef CONFIG_TCG +#include "accel/tcg/probe.h" +#endif #include "cpu.h" #include "internals.h" #include "cpu-features.h"
target/arm/tcg/helper-a64.c +1 -0
@@ -31,6 +31,7 @@#include "exec/cpu-common.h" #include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/target_page.h" #include "exec/tlb-flags.h" #include "qemu/int128.h"
target/arm/tcg/mte_helper.c +1 -0
@@ -30,6 +30,7 @@#include "system/ram_addr.h" #endif #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/helper-proto.h" #include "exec/tlb-flags.h" #include "accel/tcg/cpu-ops.h"
target/arm/tcg/op_helper.c +1 -0
@@ -25,6 +25,7 @@#include "cpu-features.h" #include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "cpregs.h" #define SIGNBIT (uint32_t)0x80000000
target/arm/tcg/sve_helper.c +1 -0
@@ -32,6 +32,7 @@#include "sve_ldst_internal.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/cpu-ops.h" +#include "accel/tcg/probe.h" #ifdef CONFIG_USER_ONLY #include "user/page-protection.h" #endif
target/hexagon/op_helper.c +1 -0
@@ -19,6 +19,7 @@#include "qemu/log.h" #include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" #include "cpu.h"
target/hppa/mem_helper.c +1 -0
@@ -23,6 +23,7 @@#include "exec/exec-all.h" #include "exec/cputlb.h" #include "accel/tcg/cpu-mmu-index.h" +#include "accel/tcg/probe.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "exec/helper-proto.h"
target/hppa/op_helper.c +1 -0
@@ -23,6 +23,7 @@#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "qemu/timer.h" #include "trace.h" #ifdef CONFIG_USER_ONLY
target/i386/tcg/access.c +1 -0
@@ -4,6 +4,7 @@#include "qemu/osdep.h" #include "cpu.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/exec-all.h" #include "exec/target_page.h" #include "access.h"
target/i386/tcg/seg_helper.c +1 -0
@@ -24,6 +24,7 @@#include "exec/helper-proto.h" #include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/log.h" #include "helper-tcg.h" #include "seg_helper.h"
target/i386/tcg/system/excp_helper.c +1 -0
@@ -20,6 +20,7 @@#include "qemu/osdep.h" #include "cpu.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/cputlb.h" #include "exec/page-protection.h" #include "exec/target_page.h"
target/mips/tcg/msa_helper.c +1 -0
@@ -23,6 +23,7 @@#include "tcg/tcg.h" #include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/helper-proto.h" #include "exec/memop.h" #include "exec/target_page.h"
target/ppc/mem_helper.c +1 -0
@@ -25,6 +25,7 @@#include "exec/helper-proto.h" #include "helper_regs.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "internal.h" #include "qemu/atomic128.h"
target/riscv/op_helper.c +1 -0
@@ -24,6 +24,7 @@#include "exec/exec-all.h" #include "exec/cputlb.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/helper-proto.h" #include "exec/tlb-flags.h" #include "trace.h"
target/riscv/vector_helper.c +1 -0
@@ -23,6 +23,7 @@#include "exec/memop.h" #include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/page-protection.h" #include "exec/helper-proto.h" #include "exec/tlb-flags.h"
target/s390x/tcg/mem_helper.c +1 -0
@@ -29,6 +29,7 @@#include "exec/cputlb.h" #include "exec/page-protection.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/target_page.h" #include "exec/tlb-flags.h" #include "accel/tcg/cpu-ops.h"
target/xtensa/mmu_helper.c +1 -0
@@ -34,6 +34,7 @@#include "qemu/host-utils.h" #include "exec/cputlb.h" #include "accel/tcg/cpu-mmu-index.h" +#include "accel/tcg/probe.h" #include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h"
Signature · 1 line
2.47.1
Re: [PATCH v2 12/13] accel/tcg: Extract probe API out of 'exec/exec-all.h'
Quoted 7 lines · Philippe Mathieu-Daudé
Declare probe methods in "
accel/tcg/probe.h" to emphasize they are specific to TCG accelerator.
target/arm/ptw.cis the only non-TCG specific file, its call to the probe API is already guarded withinCONFIG_TCGchecks.
Forgot to include:
Quoted 28 lines
Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- include/accel/tcg/probe.h | 110 +++++++++++++++++++++++++++ include/exec/exec-all.h | 100 ------------------------ target/hexagon/mmvec/macros.h | 1 + accel/tcg/cputlb.c | 1 + accel/tcg/user-exec.c | 1 + semihosting/uaccess.c | 1 + target/arm/helper.c | 1 + target/arm/ptw.c | 3 + target/arm/tcg/helper-a64.c | 1 + target/arm/tcg/mte_helper.c | 1 + target/arm/tcg/op_helper.c | 1 + target/arm/tcg/sve_helper.c | 1 + target/hexagon/op_helper.c | 1 + target/hppa/mem_helper.c | 1 + target/hppa/op_helper.c | 1 + target/i386/tcg/access.c | 1 + target/i386/tcg/seg_helper.c | 1 + target/i386/tcg/system/excp_helper.c | 1 + target/mips/tcg/msa_helper.c | 1 + target/ppc/mem_helper.c | 1 + target/riscv/op_helper.c | 1 + target/riscv/vector_helper.c | 1 + target/s390x/tcg/mem_helper.c | 1 + target/xtensa/mmu_helper.c | 1 + 24 files changed, 134 insertions(+), 100 deletions(-)create mode 100644
include/accel/tcg/probe.h
Re: [PATCH v2 12/13] accel/tcg: Extract probe API out of 'exec/exec-all.h'
In reply to Philippe Mathieu-DaudéQuoted 520 lines · Philippe Mathieu-Daudé
Declare probe methods in "
accel/tcg/probe.h" to emphasize they are specific to TCG accelerator.
target/arm/ptw.cis the only non-TCG specific file, its call to the probe API is already guarded withinCONFIG_TCGchecks.Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- include/accel/tcg/probe.h | 110 +++++++++++++++++++++++++++ include/exec/exec-all.h | 100 ------------------------ target/hexagon/mmvec/macros.h | 1 + accel/tcg/cputlb.c | 1 + accel/tcg/user-exec.c | 1 + semihosting/uaccess.c | 1 + target/arm/helper.c | 1 + target/arm/ptw.c | 3 + target/arm/tcg/helper-a64.c | 1 + target/arm/tcg/mte_helper.c | 1 + target/arm/tcg/op_helper.c | 1 + target/arm/tcg/sve_helper.c | 1 + target/hexagon/op_helper.c | 1 + target/hppa/mem_helper.c | 1 + target/hppa/op_helper.c | 1 + target/i386/tcg/access.c | 1 + target/i386/tcg/seg_helper.c | 1 + target/i386/tcg/system/excp_helper.c | 1 + target/mips/tcg/msa_helper.c | 1 + target/ppc/mem_helper.c | 1 + target/riscv/op_helper.c | 1 + target/riscv/vector_helper.c | 1 + target/s390x/tcg/mem_helper.c | 1 + target/xtensa/mmu_helper.c | 1 + 24 files changed, 134 insertions(+), 100 deletions(-)create mode 100644
include/accel/tcg/probe.hinclude/accel/tcg/probe.h new file +110
-0@@ -0,0 +1,110 @@ +/* +* Probe guest virtual addresses for access permissions. +* +* Copyright (c) 2003 Fabrice Bellard +* SPDX-License-Identifier: LGPL-2.1-or-later +*/ +#ifndef ACCEL_TCG_PROBE_H +#define ACCEL_TCG_PROBE_H + +#ifndef CONFIG_TCG +#error Can only include this header with TCG +#endif + +#include "exec/mmu-access-type.h" +#include "exec/vaddr.h" + +/** +* probe_access: +* @env: CPUArchState +* @addr: guest virtual address to look up +* @size: size of the access +* @access_type: read, write or execute permission +* @mmu_idx: MMU index to use for lookup +* @retaddr: return address for unwinding +* +* Look up the guest virtual address @addr. Raise an exception if the +* page does not satisfy @access_type. Raise an exception if the +* access (@addr, @size) hits a watchpoint. For writes, mark a clean +* page as dirty. +* +* Finally, return the host address for a page that is backed by RAM, +* or NULL if the page requires I/O. +*/ +void *probe_access (CPUArchState *env,vaddr addr,int size, +MMUAccessType access_type,int mmu_idx,uintptr_t retaddr); + +static inline void *probe_write (CPUArchState *env,vaddr addr,int size, +int mmu_idx,uintptr_t retaddr) +{ +return probe_access (env, addr, size,MMU_DATA_STORE , mmu_idx, retaddr); +} + +static inline void *probe_read (CPUArchState *env,vaddr addr,int size, +int mmu_idx,uintptr_t retaddr) +{ +return probe_access (env, addr, size,MMU_DATA_LOAD , mmu_idx, retaddr); +} + +/** +* probe_access_flags: +* @env: CPUArchState +* @addr: guest virtual address to look up +* @size: size of the access +* @access_type: read, write or execute permission +* @mmu_idx: MMU index to use for lookup +* @nonfault: suppress the fault +* @phost: return value for host address +* @retaddr: return address for unwinding +* +* Similar to probe_access, loosely returning the TLB_FLAGS_MASK for +* the page, and storing the host address for RAM in @phost. +* +* If @nonfault is set, do not raise an exception but return TLB_INVALID_MASK. +* Do not handle watchpoints, but include TLB_WATCHPOINT in the returned flags. +* Do handle clean pages, so exclude TLB_NOTDIRY from the returned flags. +* For simplicity, all "mmio-like" flags are folded to TLB_MMIO. +*/ +int probe_access_flags (CPUArchState *env,vaddr addr,int size, +MMUAccessType access_type,int mmu_idx, +bool nonfault,void **phost,uintptr_t retaddr); + +#ifndef CONFIG_USER_ONLY + +/** +* probe_access_full: +* Like probe_access_flags, except also return into @pfull. +* +* The CPUTLBEntryFull structure returned via @pfull is transient +* and must be consumed or copied immediately, before any further +* access or changes to TLB @mmu_idx. +* +* This function will not fault if @nonfault is set, but will +* return TLB_INVALID_MASK if the page is not mapped, or is not +* accessible with @access_type. +* +* This function will return TLB_MMIO in order to force the access +* to be handled out-of-line if plugins wish to instrument the access. +*/ +int probe_access_full (CPUArchState *env,vaddr addr,int size, +MMUAccessType access_type,int mmu_idx, +bool nonfault,void **phost, +CPUTLBEntryFull **pfull,uintptr_t retaddr); + +/** +* probe_access_full_mmu: +* Like probe_access_full, except: +* +* This function is intended to be used for page table accesses by +* the target mmu itself. Since such page walking happens while +* handling another potential mmu fault, this function never raises +* exceptions (akin to @nonfault true for probe_access_full). +* Likewise this function does not trigger plugin instrumentation. +*/ +int probe_access_full_mmu (CPUArchState *env,vaddr addr,int size, +MMUAccessType access_type,int mmu_idx, +void **phost,CPUTLBEntryFull **pfull); + +#endif /* !CONFIG_USER_ONLY */ + +#endif include/exec/exec-all.h +0
-100@@ -20,104 +20,4 @@#ifndef EXEC_ALL_H #define EXEC_ALL_H -#include "exec/hwaddr.h" -#include "exec/mmu-access-type.h" -#include "exec/vaddr.h" - -#if defined(CONFIG_TCG ) - -/** -* probe_access: -* @env: CPUArchState -* @addr: guest virtual address to look up -* @size: size of the access -* @access_type: read, write or execute permission -* @mmu_idx: MMU index to use for lookup -* @retaddr: return address for unwinding -* -* Look up the guest virtual address @addr. Raise an exception if the -* page does not satisfy @access_type. Raise an exception if the -* access (@addr, @size) hits a watchpoint. For writes, mark a clean -* page as dirty. -* -* Finally, return the host address for a page that is backed by RAM, -* or NULL if the page requires I/O. -*/ -void *probe_access (CPUArchState *env,vaddr addr,int size, -MMUAccessType access_type,int mmu_idx,uintptr_t retaddr); - -static inline void *probe_write (CPUArchState *env,vaddr addr,int size, -int mmu_idx,uintptr_t retaddr) -{ -return probe_access (env, addr, size,MMU_DATA_STORE , mmu_idx, retaddr); -} - -static inline void *probe_read (CPUArchState *env,vaddr addr,int size, -int mmu_idx,uintptr_t retaddr) -{ -return probe_access (env, addr, size,MMU_DATA_LOAD , mmu_idx, retaddr); -} - -/** -* probe_access_flags: -* @env: CPUArchState -* @addr: guest virtual address to look up -* @size: size of the access -* @access_type: read, write or execute permission -* @mmu_idx: MMU index to use for lookup -* @nonfault: suppress the fault -* @phost: return value for host address -* @retaddr: return address for unwinding -* -* Similar to probe_access, loosely returning the TLB_FLAGS_MASK for -* the page, and storing the host address for RAM in @phost. -* -* If @nonfault is set, do not raise an exception but return TLB_INVALID_MASK. -* Do not handle watchpoints, but include TLB_WATCHPOINT in the returned flags. -* Do handle clean pages, so exclude TLB_NOTDIRY from the returned flags. -* For simplicity, all "mmio-like" flags are folded to TLB_MMIO. -*/ -int probe_access_flags (CPUArchState *env,vaddr addr,int size, -MMUAccessType access_type,int mmu_idx, -bool nonfault,void **phost,uintptr_t retaddr); - -#ifndef CONFIG_USER_ONLY - -/** -* probe_access_full: -* Like probe_access_flags, except also return into @pfull. -* -* The CPUTLBEntryFull structure returned via @pfull is transient -* and must be consumed or copied immediately, before any further -* access or changes to TLB @mmu_idx. -* -* This function will not fault if @nonfault is set, but will -* return TLB_INVALID_MASK if the page is not mapped, or is not -* accessible with @access_type. -* -* This function will return TLB_MMIO in order to force the access -* to be handled out-of-line if plugins wish to instrument the access. -*/ -int probe_access_full (CPUArchState *env,vaddr addr,int size, -MMUAccessType access_type,int mmu_idx, -bool nonfault,void **phost, -CPUTLBEntryFull **pfull,uintptr_t retaddr); - -/** -* probe_access_full_mmu: -* Like probe_access_full, except: -* -* This function is intended to be used for page table accesses by -* the target mmu itself. Since such page walking happens while -* handling another potential mmu fault, this function never raises -* exceptions (akin to @nonfault true for probe_access_full). -* Likewise this function does not trigger plugin instrumentation. -*/ -int probe_access_full_mmu (CPUArchState *env,vaddr addr,int size, -MMUAccessType access_type,int mmu_idx, -void **phost,CPUTLBEntryFull **pfull); - -#endif /* !CONFIG_USER_ONLY */ -#endif /* CONFIG_TCG */ -#endif target/hexagon/mmvec/macros.h +1
-0@@ -22,6 +22,7 @@#include "arch.h" #include "mmvec/system_ext_mmvec.h" #include "accel/tcg/getpc.h" +#include "accel/tcg/probe.h" #ifndef QEMU_GENERATE #define VdV (*(MMVector *restrict)(VdV_void))accel/tcg/cputlb.c +1
-0@@ -21,6 +21,7 @@#include "qemu/main-loop.h" #include "accel/tcg/cpu-ops.h" #include "accel/tcg/iommu.h" +#include "accel/tcg/probe.h" #include "exec/exec-all.h" #include "exec/page-protection.h" #include "system/memory.h" accel/tcg/user-exec.c +1
-0@@ -27,6 +27,7 @@#include "qemu/bitops.h" #include "qemu/rcu.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "user/cpu_loop.h" #include "qemu/main-loop.h" #include "user/page-protection.h" semihosting/uaccess.c +1
-0@@ -9,6 +9,7 @@#include "qemu/osdep.h" #include "accel/tcg/cpu-mmu-index.h" +#include "accel/tcg/probe.h" #include "exec/exec-all.h" #include "exec/target_page.h" #include "exec/tlb-flags.h" target/arm/helper.c +1
-0@@ -30,6 +30,7 @@#include "qapi/error.h" #include "qemu/guest-random.h" #ifdef CONFIG_TCG +#include "accel/tcg/probe.h" #include "semihosting/common-semi.h" #endif #include "cpregs.h" target/arm/ptw.c +3
-0@@ -14,6 +14,9 @@#include "exec/page-protection.h" #include "exec/target_page.h" #include "exec/tlb-flags.h" +#ifdef CONFIG_TCG +#include "accel/tcg/probe.h" +#endif #include "cpu.h" #include "internals.h" #include "cpu-features.h" target/arm/tcg/helper-a64.c +1
-0@@ -31,6 +31,7 @@#include "exec/cpu-common.h" #include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/target_page.h" #include "exec/tlb-flags.h" #include "qemu/int128.h" target/arm/tcg/mte_helper.c +1
-0@@ -30,6 +30,7 @@#include "system/ram_addr.h" #endif #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/helper-proto.h" #include "exec/tlb-flags.h" #include "accel/tcg/cpu-ops.h" target/arm/tcg/op_helper.c +1
-0@@ -25,6 +25,7 @@#include "cpu-features.h" #include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "cpregs.h" #define SIGNBIT (uint32_t)0x80000000target/arm/tcg/sve_helper.c +1
-0@@ -32,6 +32,7 @@#include "sve_ldst_internal.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/cpu-ops.h" +#include "accel/tcg/probe.h" #ifdef CONFIG_USER_ONLY #include "user/page-protection.h" #endif target/hexagon/op_helper.c +1
-0@@ -19,6 +19,7 @@#include "qemu/log.h" #include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" #include "cpu.h" target/hppa/mem_helper.c +1
-0@@ -23,6 +23,7 @@#include "exec/exec-all.h" #include "exec/cputlb.h" #include "accel/tcg/cpu-mmu-index.h" +#include "accel/tcg/probe.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "exec/helper-proto.h" target/hppa/op_helper.c +1
-0@@ -23,6 +23,7 @@#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "qemu/timer.h" #include "trace.h" #ifdef CONFIG_USER_ONLY target/i386/tcg/access.c +1
-0@@ -4,6 +4,7 @@#include "qemu/osdep.h" #include "cpu.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/exec-all.h" #include "exec/target_page.h" #include "access.h" target/i386/tcg/seg_helper.c +1
-0@@ -24,6 +24,7 @@#include "exec/helper-proto.h" #include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/log.h" #include "helper-tcg.h" #include "seg_helper.h" target/i386/tcg/system/excp_helper.c +1
-0@@ -20,6 +20,7 @@#include "qemu/osdep.h" #include "cpu.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/cputlb.h" #include "exec/page-protection.h" #include "exec/target_page.h" target/mips/tcg/msa_helper.c +1
-0@@ -23,6 +23,7 @@#include "tcg/tcg.h" #include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/helper-proto.h" #include "exec/memop.h" #include "exec/target_page.h" target/ppc/mem_helper.c +1
-0@@ -25,6 +25,7 @@#include "exec/helper-proto.h" #include "helper_regs.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "internal.h" #include "qemu/atomic128.h" target/riscv/op_helper.c +1
-0@@ -24,6 +24,7 @@#include "exec/exec-all.h" #include "exec/cputlb.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/helper-proto.h" #include "exec/tlb-flags.h" #include "trace.h" target/riscv/vector_helper.c +1
-0@@ -23,6 +23,7 @@#include "exec/memop.h" #include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/page-protection.h" #include "exec/helper-proto.h" #include "exec/tlb-flags.h" target/s390x/tcg/mem_helper.c +1
-0@@ -29,6 +29,7 @@#include "exec/cputlb.h" #include "exec/page-protection.h" #include "accel/tcg/cpu-ldst.h" +#include "accel/tcg/probe.h" #include "exec/target_page.h" #include "exec/tlb-flags.h" #include "accel/tcg/cpu-ops.h" target/xtensa/mmu_helper.c +0
-0
target/xtensa/mmu_helper.c line 40
Quoted 7 lines
target/xtensa/mmu_helper.c +1
-0@@ -34,6 +34,7 @@#include "qemu/host-utils.h" #include "exec/cputlb.h" #include "accel/tcg/cpu-mmu-index.h" +#include "accel/tcg/probe.h" #include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h"
Moving the functions out of exec/exec-all.h feels like the right thing to do here, although I do wonder once the dust has settled from the single binary work if this is something else that should be consolidated into an existing TCG header? Anyhow:
ATB,
Mark.
Re: [PATCH v2 12/13] accel/tcg: Extract probe API out of 'exec/exec-all.h'
In reply to Philippe Mathieu-DaudéQuoted 4 lines · Philippe Mathieu-Daudé
+++
b/include/accel/tcg/probe.hinclude/accel/tcg/probe.h new file +2
-0@@ -0,0 +1,110 @@ +/* +* Probe guest virtual addresses for access permissions.
include/accel/tcg/probe.h line 12
Quoted 10 lines
include/accel/tcg/probe.h new file +10
-0+* +* Copyright (c) 2003 Fabrice Bellard +* SPDX-License-Identifier: LGPL-2.1-or-later +*/ +#ifndef ACCEL_TCG_PROBE_H +#define ACCEL_TCG_PROBE_H + +#ifndef CONFIG_TCG +#error Can only include this header with TCG +#endif
Please don't add these.
All these do is force extra #ifdefs in the users.
As another example, this patch set produces
https://gitlab.com/rth7680/qemu/-/jobs/9819262393
https://gitlab.com/rth7680/qemu/-/jobs/9819262193
aarch64-linux-gnu-gcc -Ilibqemu-aarch64-softmmu.a.p -I. -I.. -Itarget/arm -I../target/arm -Iqapi -Itrace -Iui -Iui/shader -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -fdiagnostics-color=auto -Wall -Winvalid-pch -Werror -std=gnu11 -O2 -g -Wempty-body -Wendif-labels -Wexpansion-to-defined -Wformat-security -Wformat-y2k -Wignored-qualifiers -Wimplicit-fallthrough=2 -Winit-self -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wold-style-declaration -Wold-style-definition -Wredundant-decls -Wshadow=local -Wstrict-prototypes -Wtype-limits -Wundef -Wvla -Wwrite-strings -Wno-missing-include-dirs -Wno-psabi -Wno-shift-negative-value -isystem /builds/rth7680/qemu/linux-headers -isystem linux-headers -iquote . -iquote /builds/rth7680/qemu -iquote /builds/rth7680/qemu/include -iquote /builds/rth7680/qemu/host/include/aarch64 -iquote /builds/rth7680/qemu/host/include/generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fno-common -fwrapv -ftrivial-auto-var-init=zero -fzero-call-used-regs=used-gpr -fPIE -isystem../linux-headers -isystemlinux-headers -DCOMPILING_PER_TARGET '-DCONFIG_TARGET="aarch64-softmmu-config-target.h"' '-DCONFIG_DEVICES="aarch64-softmmu-config-devices.h"' -MD -MQ libqemu-aarch64-softmmu.a.p/target_arm_debug_helper.c.o -MF libqemu-aarch64-softmmu.a.p/target_arm_debug_helper.c.o.d -o libqemu-aarch64-softmmu.a.p/target_arm_debug_helper.c.o -c ../target/arm/debug_helper.c In file included from /builds/rth7680/qemu/include/exec/helper-proto-common.h:16,
from /builds/rth7680/qemu/include/exec/helper-proto.h:10,
from ../target/arm/debug_helper.c:14:
/builds/rth7680/qemu/include/accel/tcg/getpc.h:12:2: error: #error Can only include this header with TCG
12 | #error Can only include this header with TCG
| ^~~~~r~
PATCH v2 13/13 include: Remove 'exec/exec-all.h'
In reply to Philippe Mathieu-Daudé"exec/exec-all.h" is now fully empty, let's remove it.
Mechanical change running:
$ sed -i '/exec\/exec-all.h/d' $(git grep -wl exec/exec-all.h)
--- MAINTAINERS | 1 - bsd-user/qemu.h | 1 - include/exec/exec-all.h | 23 ----------------------- include/system/ram_addr.h | 1 - linux-user/user-internals.h | 1 - target/arm/tcg/translate.h | 1 - target/i386/tcg/helper-tcg.h | 1 - accel/hvf/hvf-accel-ops.c | 1 - accel/tcg/cputlb.c | 1 - accel/tcg/translate-all.c | 1 - accel/tcg/user-exec.c | 1 - bsd-user/main.c | 1 - hw/ppc/spapr_nested.c | 1 - hw/riscv/riscv-iommu-sys.c | 1 - hw/sh4/sh7750.c | 1 - linux-user/main.c | 1 - semihosting/uaccess.c | 1 - system/physmem.c | 1 - target/alpha/cpu.c | 1 - target/alpha/fpu_helper.c | 1 - target/alpha/int_helper.c | 1 - target/alpha/mem_helper.c | 1 - target/alpha/translate.c | 1 - target/alpha/vax_helper.c | 1 - target/arm/cpu.c | 1 - target/arm/debug_helper.c | 1 - target/arm/helper.c | 1 - target/arm/ptw.c | 1 - target/arm/tcg/helper-a64.c | 1 - target/arm/tcg/m_helper.c | 1 - target/arm/tcg/mte_helper.c | 1 - target/arm/tcg/mve_helper.c | 1 - target/arm/tcg/op_helper.c | 1 - target/arm/tcg/pauth_helper.c | 1 - target/arm/tcg/sme_helper.c | 1 - target/arm/tcg/sve_helper.c | 1 - target/arm/tcg/tlb_helper.c | 1 - target/arm/tcg/translate-a64.c | 1 - target/avr/cpu.c | 1 - target/avr/translate.c | 1 - target/hexagon/cpu.c | 1 - target/hexagon/op_helper.c | 1 - target/hppa/cpu.c | 1 - target/hppa/fpu_helper.c | 1 - target/hppa/helper.c | 1 - target/hppa/mem_helper.c | 1 - target/hppa/op_helper.c | 1 - target/hppa/sys_helper.c | 1 - target/hppa/translate.c | 1 - target/i386/tcg/access.c | 1 - target/i386/tcg/excp_helper.c | 1 - target/i386/tcg/int_helper.c | 1 - target/i386/tcg/mem_helper.c | 1 - target/i386/tcg/mpx_helper.c | 1 - target/i386/tcg/seg_helper.c | 1 - target/i386/tcg/system/bpt_helper.c | 1 - target/i386/tcg/translate.c | 1 - target/i386/tcg/user/excp_helper.c | 1 - target/i386/tcg/user/seg_helper.c | 1 - target/loongarch/cpu.c | 1 - target/loongarch/tcg/fpu_helper.c | 1 - target/loongarch/tcg/iocsr_helper.c | 1 - target/loongarch/tcg/op_helper.c | 1 - target/loongarch/tcg/tlb_helper.c | 1 - target/loongarch/tcg/vec_helper.c | 1 - target/m68k/fpu_helper.c | 1 - target/m68k/helper.c | 1 - target/m68k/op_helper.c | 1 - target/m68k/translate.c | 1 - target/microblaze/cpu.c | 1 - target/microblaze/op_helper.c | 1 - target/microblaze/translate.c | 1 - target/mips/cpu.c | 1 - target/mips/system/physaddr.c | 1 - target/mips/tcg/exception.c | 1 - target/mips/tcg/fpu_helper.c | 1 - target/mips/tcg/ldst_helper.c | 1 - target/mips/tcg/msa_helper.c | 1 - target/mips/tcg/op_helper.c | 1 - target/mips/tcg/system/special_helper.c | 1 - target/mips/tcg/system/tlb_helper.c | 1 - target/openrisc/cpu.c | 1 - target/openrisc/exception.c | 1 - target/openrisc/exception_helper.c | 1 - target/openrisc/fpu_helper.c | 1 - target/openrisc/interrupt.c | 1 - target/openrisc/interrupt_helper.c | 1 - target/openrisc/sys_helper.c | 1 - target/openrisc/translate.c | 1 - target/ppc/excp_helper.c | 1 - target/ppc/fpu_helper.c | 1 - target/ppc/machine.c | 1 - target/ppc/mem_helper.c | 1 - target/ppc/misc_helper.c | 1 - target/ppc/mmu-hash32.c | 1 - target/ppc/mmu-hash64.c | 1 - target/ppc/mmu-radix64.c | 1 - target/ppc/mmu_common.c | 1 - target/ppc/mmu_helper.c | 1 - target/ppc/power8-pmu.c | 1 - target/ppc/tcg-excp_helper.c | 1 - target/ppc/timebase_helper.c | 1 - target/ppc/translate.c | 1 - target/ppc/user_only_helper.c | 1 - target/riscv/cpu.c | 1 - target/riscv/cpu_helper.c | 1 - target/riscv/crypto_helper.c | 1 - target/riscv/csr.c | 1 - target/riscv/debug.c | 1 - target/riscv/fpu_helper.c | 1 - target/riscv/m128_helper.c | 1 - target/riscv/op_helper.c | 1 - target/riscv/tcg/tcg-cpu.c | 1 - target/riscv/translate.c | 1 - target/riscv/vcrypto_helper.c | 1 - target/riscv/vector_helper.c | 1 - target/riscv/zce_helper.c | 1 - target/rx/op_helper.c | 1 - target/rx/translate.c | 1 - target/s390x/interrupt.c | 1 - target/s390x/mmu_helper.c | 1 - target/s390x/sigp.c | 1 - target/s390x/tcg/cc_helper.c | 1 - target/s390x/tcg/crypto_helper.c | 1 - target/s390x/tcg/excp_helper.c | 1 - target/s390x/tcg/fpu_helper.c | 1 - target/s390x/tcg/int_helper.c | 1 - target/s390x/tcg/mem_helper.c | 1 - target/s390x/tcg/misc_helper.c | 1 - target/s390x/tcg/translate.c | 1 - target/s390x/tcg/vec_fpu_helper.c | 1 - target/s390x/tcg/vec_helper.c | 1 - target/sh4/cpu.c | 1 - target/sh4/helper.c | 1 - target/sh4/op_helper.c | 1 - target/sh4/translate.c | 1 - target/sparc/cpu.c | 1 - target/sparc/fop_helper.c | 1 - target/sparc/helper.c | 1 - target/sparc/ldst_helper.c | 1 - target/sparc/machine.c | 1 - target/sparc/translate.c | 1 - target/sparc/win_helper.c | 1 - target/tricore/cpu.c | 1 - target/tricore/op_helper.c | 1 - target/tricore/translate.c | 1 - target/xtensa/dbg_helper.c | 1 - target/xtensa/exc_helper.c | 1 - target/xtensa/fpu_helper.c | 1 - target/xtensa/mmu_helper.c | 1 - target/xtensa/op_helper.c | 1 - target/xtensa/translate.c | 1 - target/xtensa/win_helper.c | 1 - 153 files changed, 175 deletions(-) delete mode 100644 include/exec/exec-all.h
MAINTAINERS +0 -1
@@ -493,7 +493,6 @@ M: Richard Henderson <[email protected]> R: Paolo Bonzini <[email protected]> S: Maintained F: include/exec/cpu*.h -F: include/exec/exec-all.h F: include/exec/target_long.h F: include/qemu/accel.h F: include/system/accel-*.h
bsd-user/qemu.h +0 -1
@@ -23,7 +23,6 @@#include "cpu.h" #include "qemu/units.h" #include "accel/tcg/cpu-ldst.h" -#include "exec/exec-all.h" #include "user/abitypes.h" #include "user/cpu_loop.h"
include/exec/exec-all.h deleted +0 -23
@@ -1,23 +0,0 @@ -/* -* internal execution defines for qemu -* -* Copyright (c) 2003 Fabrice Bellard -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU Lesser General Public -* License as published by the Free Software Foundation; either -* version 2.1 of the License, or (at your option) any later version. -* -* This library is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -* Lesser General Public License for more details. -* -* You should have received a copy of the GNU Lesser General Public -* License along with this library; if not, see <http://www.gnu.org/licenses/>. -*/ - -#ifndef EXEC_ALL_H -#define EXEC_ALL_H - -#endif
include/system/ram_addr.h +0 -1
@@ -24,7 +24,6 @@#include "exec/cputlb.h" #include "exec/ramlist.h" #include "system/ramblock.h" -#include "exec/exec-all.h" #include "system/memory.h" #include "exec/target_page.h" #include "qemu/rcu.h"
linux-user/user-internals.h +0 -1
@@ -19,7 +19,6 @@#define LINUX_USER_USER_INTERNALS_H #include "user/thunk.h" -#include "exec/exec-all.h" #include "qemu/log.h" extern char *exec_path;
target/arm/tcg/translate.h +0 -1
@@ -4,7 +4,6 @@#include "cpu.h" #include "tcg/tcg-op.h" #include "tcg/tcg-op-gvec.h" -#include "exec/exec-all.h" #include "exec/translator.h" #include "exec/translation-block.h" #include "exec/helper-gen.h"
target/i386/tcg/helper-tcg.h +0 -1
@@ -20,7 +20,6 @@#ifndef I386_HELPER_TCG_H #define I386_HELPER_TCG_H -#include "exec/exec-all.h" #include "qemu/host-utils.h" /* Maximum instruction code size */
accel/hvf/hvf-accel-ops.c +0 -1
@@ -51,7 +51,6 @@#include "qemu/error-report.h" #include "qemu/main-loop.h" #include "system/address-spaces.h" -#include "exec/exec-all.h" #include "gdbstub/enums.h" #include "hw/boards.h" #include "system/accel-ops.h"
accel/tcg/cputlb.c +0 -1
@@ -22,7 +22,6 @@#include "accel/tcg/cpu-ops.h" #include "accel/tcg/iommu.h" #include "accel/tcg/probe.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "system/memory.h" #include "accel/tcg/cpu-ldst.h"
accel/tcg/translate-all.c +0 -1
@@ -21,7 +21,6 @@#include "trace.h" #include "disas/disas.h" -#include "exec/exec-all.h" #include "tcg/tcg.h" #if defined(CONFIG_USER_ONLY )#include "qemu.h"
accel/tcg/user-exec.c +0 -1
@@ -21,7 +21,6 @@#include "disas/disas.h" #include "cpu.h" #include "exec/vaddr.h" -#include "exec/exec-all.h" #include "exec/tlb-flags.h" #include "tcg/tcg.h" #include "qemu/bitops.h"
bsd-user/main.c +0 -1
@@ -36,7 +36,6 @@#include "qemu/help_option.h" #include "qemu/module.h" #include "qemu/plugin.h" -#include "exec/exec-all.h" #include "user/guest-base.h" #include "user/page-protection.h" #include "tcg/startup.h"
hw/ppc/spapr_nested.c +0 -1
@@ -1,6 +1,5 @@#include "qemu/osdep.h" #include "qemu/cutils.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "exec/target_long.h" #include "helper_regs.h"
hw/riscv/riscv-iommu-sys.c +0 -1
@@ -26,7 +26,6 @@#include "qemu/host-utils.h" #include "qemu/module.h" #include "qom/object.h" -#include "exec/exec-all.h" #include "trace.h" #include "riscv-iommu.h"
hw/sh4/sh7750.c +0 -1
@@ -36,7 +36,6 @@#include "sh7750_regnames.h" #include "hw/sh4/sh_intc.h" #include "hw/timer/tmu012.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "trace.h"
linux-user/main.c +0 -1
@@ -40,7 +40,6 @@#include "qemu/plugin.h" #include "user/guest-base.h" #include "user/page-protection.h" -#include "exec/exec-all.h" #include "exec/gdbstub.h" #include "gdbstub/user.h" #include "tcg/startup.h"
semihosting/uaccess.c +0 -1
@@ -10,7 +10,6 @@#include "qemu/osdep.h" #include "accel/tcg/cpu-mmu-index.h" #include "accel/tcg/probe.h" -#include "exec/exec-all.h" #include "exec/target_page.h" #include "exec/tlb-flags.h" #include "semihosting/uaccess.h"
system/physmem.c +0 -1
@@ -32,7 +32,6 @@#include "accel/tcg/iommu.h" #endif /* CONFIG_TCG */ -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "exec/page-protection.h" #include "exec/target_page.h"
target/alpha/cpu.c +0 -1
@@ -23,7 +23,6 @@#include "qapi/error.h" #include "qemu/qemu-print.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "exec/target_page.h" #include "fpu/softfloat.h"
target/alpha/fpu_helper.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h"
target/alpha/int_helper.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h"
target/alpha/mem_helper.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" static void do_unaligned_access (CPUAlphaState *env,vaddr addr,uintptr_t retaddr)
target/alpha/translate.c +0 -1
@@ -21,7 +21,6 @@#include "cpu.h" #include "system/cpus.h" #include "qemu/host-utils.h" -#include "exec/exec-all.h" #include "tcg/tcg-op.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h"
target/alpha/vax_helper.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h"
target/arm/cpu.c +0 -1
@@ -33,7 +33,6 @@#endif /* CONFIG_TCG */ #include "internals.h" #include "cpu-features.h" -#include "exec/exec-all.h" #include "exec/target_page.h" #include "hw/qdev-properties.h" #if !defined(CONFIG_USER_ONLY )
target/arm/debug_helper.c +0 -1
@@ -11,7 +11,6 @@#include "internals.h" #include "cpu-features.h" #include "cpregs.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "exec/watchpoint.h" #include "system/tcg.h"
target/arm/helper.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/bitops.h" #include "qemu/qemu-print.h" #include "exec/cputlb.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "hw/irq.h" #include "system/cpu-timers.h"
target/arm/ptw.c +0 -1
@@ -10,7 +10,6 @@#include "qemu/log.h" #include "qemu/range.h" #include "qemu/main-loop.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "exec/tlb-flags.h"
target/arm/tcg/helper-a64.c +0 -1
@@ -29,7 +29,6 @@#include "internals.h" #include "qemu/crc32c.h" #include "exec/cpu-common.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h" #include "exec/target_page.h"
target/arm/tcg/m_helper.c +0 -1
@@ -15,7 +15,6 @@#include "qemu/main-loop.h" #include "qemu/bitops.h" #include "qemu/log.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #ifdef CONFIG_TCG #include "accel/tcg/cpu-ldst.h"
target/arm/tcg/mte_helper.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/log.h" #include "cpu.h" #include "internals.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #ifdef CONFIG_USER_ONLY #include "user/cpu_loop.h"
target/arm/tcg/mve_helper.c +0 -1
@@ -23,7 +23,6 @@#include "vec_internal.h" #include "exec/helper-proto.h" #include "accel/tcg/cpu-ldst.h" -#include "exec/exec-all.h" #include "tcg/tcg.h" #include "fpu/softfloat.h" #include "crypto/clmul.h"
target/arm/tcg/op_helper.c +0 -1
@@ -23,7 +23,6 @@#include "exec/target_page.h" #include "internals.h" #include "cpu-features.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h" #include "cpregs.h"
target/arm/tcg/pauth_helper.c +0 -1
@@ -21,7 +21,6 @@#include "cpu.h" #include "internals.h" #include "cpu-features.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "exec/helper-proto.h" #include "tcg/tcg-gvec-desc.h"
target/arm/tcg/sme_helper.c +0 -1
@@ -23,7 +23,6 @@#include "tcg/tcg-gvec-desc.h" #include "exec/helper-proto.h" #include "accel/tcg/cpu-ldst.h" -#include "exec/exec-all.h" #include "qemu/int128.h" #include "fpu/softfloat.h" #include "vec_internal.h"
target/arm/tcg/sve_helper.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "internals.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/helper-proto.h" #include "exec/target_page.h"
target/arm/tcg/tlb_helper.c +0 -1
@@ -9,7 +9,6 @@#include "cpu.h" #include "internals.h" #include "cpu-features.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h"
target/arm/tcg/translate-a64.c +0 -1
@@ -17,7 +17,6 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" -#include "exec/exec-all.h" #include "exec/target_page.h" #include "translate.h" #include "translate-a64.h"
target/avr/cpu.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/qemu-print.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "system/address-spaces.h" #include "cpu.h"
target/avr/translate.c +0 -1
@@ -22,7 +22,6 @@#include "qemu/qemu-print.h" #include "tcg/tcg.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "tcg/tcg-op.h" #include "exec/helper-proto.h"
target/hexagon/cpu.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/qemu-print.h" #include "cpu.h" #include "internal.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "qapi/error.h" #include "hw/qdev-properties.h"
target/hexagon/op_helper.c +0 -1
@@ -17,7 +17,6 @@#include "qemu/osdep.h" #include "qemu/log.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h" #include "exec/helper-proto.h"
target/hppa/cpu.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/timer.h" #include "cpu.h" #include "qemu/module.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "exec/target_page.h" #include "fpu/softfloat.h"
target/hppa/fpu_helper.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h"
target/hppa/helper.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/log.h" #include "cpu.h" #include "fpu/softfloat.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "qemu/qemu-print.h" #include "hw/hppa/hppa_hardware.h"
target/hppa/mem_helper.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "accel/tcg/cpu-mmu-index.h" #include "accel/tcg/probe.h"
target/hppa/op_helper.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h"
target/hppa/sys_helper.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "qemu/timer.h" #include "system/runstate.h"
target/hppa/translate.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "qemu/host-utils.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "tcg/tcg-op.h" #include "tcg/tcg-op-gvec.h"
target/i386/tcg/access.c +0 -1
@@ -5,7 +5,6 @@#include "cpu.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h" -#include "exec/exec-all.h" #include "exec/target_page.h" #include "access.h"
target/i386/tcg/excp_helper.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "qemu/log.h" #include "system/runstate.h" #include "exec/helper-proto.h"
target/i386/tcg/int_helper.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "cpu.h" -#include "exec/exec-all.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" #include "qapi/error.h"
target/i386/tcg/mem_helper.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "qemu/int128.h" #include "qemu/atomic128.h"
target/i386/tcg/mpx_helper.c +0 -1
@@ -21,7 +21,6 @@#include "cpu.h" #include "exec/helper-proto.h" #include "accel/tcg/cpu-ldst.h" -#include "exec/exec-all.h" #include "exec/target_page.h" #include "helper-tcg.h"
target/i386/tcg/seg_helper.c +0 -1
@@ -22,7 +22,6 @@#include "cpu.h" #include "qemu/log.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h" #include "exec/log.h"
target/i386/tcg/system/bpt_helper.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "exec/watchpoint.h" #include "tcg/helper-tcg.h"
target/i386/tcg/translate.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/host-utils.h" #include "cpu.h" #include "accel/tcg/cpu-mmu-index.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "tcg/tcg-op.h" #include "tcg/tcg-op-gvec.h"
target/i386/tcg/user/excp_helper.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "tcg/helper-tcg.h" void x86_cpu_record_sigsegv(CPUState *cs, vaddr addr,
target/i386/tcg/user/seg_helper.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "tcg/helper-tcg.h" #include "tcg/seg_helper.h"
target/loongarch/cpu.c +0 -1
@@ -15,7 +15,6 @@#include "system/kvm.h" #include "kvm/kvm_loongarch.h" #include "hw/qdev-properties.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "cpu.h" #include "internals.h"
target/loongarch/tcg/fpu_helper.c +0 -1
@@ -8,7 +8,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "fpu/softfloat.h" #include "internals.h"
target/loongarch/tcg/iocsr_helper.c +0 -1
@@ -9,7 +9,6 @@#include "cpu.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #define GET_MEMTXATTRS (cas) \
target/loongarch/tcg/op_helper.c +0 -1
@@ -10,7 +10,6 @@#include "cpu.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "internals.h" #include "qemu/crc32c.h"
target/loongarch/tcg/tlb_helper.c +0 -1
@@ -13,7 +13,6 @@#include "internals.h" #include "exec/helper-proto.h" #include "exec/cputlb.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "accel/tcg/cpu-ldst.h"
target/loongarch/tcg/vec_helper.c +0 -1
@@ -7,7 +7,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" #include "internals.h"
target/m68k/fpu_helper.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "softfloat.h"
target/m68k/helper.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/cputlb.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "exec/gdbstub.h"
target/m68k/op_helper.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/log.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "semihosting/semihost.h"
target/m68k/translate.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "exec/target_page.h" #include "tcg/tcg-op.h"
target/microblaze/cpu.c +0 -1
@@ -27,7 +27,6 @@#include "cpu.h" #include "qemu/module.h" #include "hw/qdev-properties.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "exec/gdbstub.h" #include "exec/translation-block.h"
target/microblaze/op_helper.c +0 -1
@@ -23,7 +23,6 @@#include "cpu.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "fpu/softfloat.h"
target/microblaze/translate.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "tcg/tcg-op.h" #include "exec/helper-proto.h"
target/mips/cpu.c +0 -1
@@ -29,7 +29,6 @@#include "qemu/module.h" #include "system/kvm.h" #include "system/qtest.h" -#include "exec/exec-all.h" #include "hw/qdev-properties.h" #include "hw/qdev-clock.h" #include "fpu_helper.h"
target/mips/system/physaddr.c +0 -1
@@ -18,7 +18,6 @@*/ #include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "../internal.h"
target/mips/tcg/exception.c +0 -1
@@ -23,7 +23,6 @@#include "cpu.h" #include "internal.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" target_ulong exception_resume_pc (CPUMIPSState *env)
target/mips/tcg/fpu_helper.c +0 -1
@@ -24,7 +24,6 @@#include "cpu.h" #include "internal.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "fpu/softfloat.h" #include "fpu_helper.h"
target/mips/tcg/ldst_helper.c +0 -1
@@ -23,7 +23,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "exec/memop.h" #include "internal.h"
target/mips/tcg/msa_helper.c +0 -1
@@ -21,7 +21,6 @@#include "cpu.h" #include "internal.h" #include "tcg/tcg.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h" #include "exec/helper-proto.h"
target/mips/tcg/op_helper.c +0 -1
@@ -22,7 +22,6 @@#include "cpu.h" #include "internal.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "exec/memop.h" #include "fpu_helper.h"
target/mips/tcg/system/special_helper.c +0 -1
@@ -22,7 +22,6 @@#include "qemu/log.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "internal.h"
target/mips/tcg/system/tlb_helper.c +0 -1
@@ -22,7 +22,6 @@#include "cpu.h" #include "internal.h" #include "exec/cputlb.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "accel/tcg/cpu-ldst.h"
target/openrisc/cpu.c +0 -1
@@ -21,7 +21,6 @@#include "qapi/error.h" #include "qemu/qemu-print.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "fpu/softfloat-helpers.h" #include "tcg/tcg.h"
target/openrisc/exception.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exception.h" G_NORETURN void raise_exception(OpenRISCCPU *cpu, uint32_t excp)
target/openrisc/exception_helper.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "exception.h"
target/openrisc/fpu_helper.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h"
target/openrisc/interrupt.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "cpu.h" -#include "exec/exec-all.h" #include "gdbstub/helpers.h" #include "qemu/host-utils.h" #ifndef CONFIG_USER_ONLY
target/openrisc/interrupt_helper.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" void HELPER (rfe )(CPUOpenRISCState *env)
target/openrisc/sys_helper.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "exec/target_page.h" #include "exec/helper-proto.h"
target/openrisc/translate.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "accel/tcg/cpu-mmu-index.h" -#include "exec/exec-all.h" #include "tcg/tcg-op.h" #include "qemu/log.h" #include "qemu/bitops.h"
target/ppc/excp_helper.c +0 -1
@@ -24,7 +24,6 @@#include "system/system.h" #include "system/runstate.h" #include "cpu.h" -#include "exec/exec-all.h" #include "internal.h" #include "helper_regs.h" #include "hw/ppc/ppc.h"
target/ppc/fpu_helper.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "internal.h" #include "fpu/softfloat.h"
target/ppc/machine.c +0 -1
@@ -1,6 +1,5 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "system/kvm.h" #include "system/tcg.h" #include "helper_regs.h"
target/ppc/mem_helper.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/target_page.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h"
target/ppc/misc_helper.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "exec/helper-proto.h" #include "qemu/error-report.h"
target/ppc/mmu-hash32.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "system/kvm.h"
target/ppc/mmu-hash64.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu/units.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "qemu/error-report.h" #include "qemu/qemu-print.h"
target/ppc/mmu-radix64.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "qemu/error-report.h" #include "system/kvm.h"
target/ppc/mmu_common.c +0 -1
@@ -24,7 +24,6 @@#include "kvm_ppc.h" #include "mmu-hash64.h" #include "mmu-hash32.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "exec/log.h"
target/ppc/mmu_helper.c +0 -1
@@ -25,7 +25,6 @@#include "mmu-hash64.h" #include "mmu-hash32.h" #include "exec/cputlb.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "exec/log.h"
target/ppc/power8-pmu.c +0 -1
@@ -13,7 +13,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "helper_regs.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "qemu/error-report.h" #include "qemu/timer.h"
target/ppc/tcg-excp_helper.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/log.h" #include "target/ppc/cpu.h" #include "accel/tcg/cpu-ldst.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "system/runstate.h"
target/ppc/timebase_helper.c +0 -1
@@ -20,7 +20,6 @@#include "cpu.h" #include "hw/ppc/ppc.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "qemu/log.h" #include "qemu/main-loop.h"
target/ppc/translate.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "internal.h" -#include "exec/exec-all.h" #include "exec/target_page.h" #include "tcg/tcg-op.h" #include "tcg/tcg-op-gvec.h"
target/ppc/user_only_helper.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "internal.h" void ppc_cpu_record_sigsegv(CPUState *cs, vaddr address,
target/riscv/cpu.c +0 -1
@@ -24,7 +24,6 @@#include "cpu.h" #include "cpu_vendorid.h" #include "internals.h" -#include "exec/exec-all.h" #include "qapi/error.h" #include "qapi/visitor.h" #include "qemu/error-report.h"
target/riscv/cpu_helper.c +0 -1
@@ -24,7 +24,6 @@#include "internals.h" #include "pmu.h" #include "exec/cputlb.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "system/memory.h"
target/riscv/crypto_helper.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "crypto/aes.h" #include "crypto/aes-round.h"
target/riscv/csr.c +0 -1
@@ -24,7 +24,6 @@#include "tcg/tcg-cpu.h" #include "pmu.h" #include "time_helper.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "exec/tb-flush.h" #include "exec/icount.h"
target/riscv/debug.c +0 -1
@@ -28,7 +28,6 @@#include "qapi/error.h" #include "cpu.h" #include "trace.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "exec/watchpoint.h" #include "system/cpu-timers.h"
target/riscv/fpu_helper.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "qemu/host-utils.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" #include "internals.h"
target/riscv/m128_helper.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" target_ulong HELPER(divu_i128)(CPURISCVState *env,
target/riscv/op_helper.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "internals.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h"
target/riscv/tcg/tcg-cpu.c +0 -1
@@ -18,7 +18,6 @@*/ #include "qemu/osdep.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "tcg-cpu.h" #include "cpu.h"
target/riscv/translate.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/log.h" #include "cpu.h" #include "tcg/tcg-op.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h" #include "exec/target_page.h"
target/riscv/vcrypto_helper.c +0 -1
@@ -26,7 +26,6 @@#include "crypto/aes-round.h" #include "crypto/sm4.h" #include "exec/memop.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "internals.h" #include "vector_internals.h"
target/riscv/vector_helper.c +0 -1
@@ -21,7 +21,6 @@#include "qemu/bitops.h" #include "cpu.h" #include "exec/memop.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h" #include "exec/page-protection.h"
target/riscv/zce_helper.c +0 -1
@@ -18,7 +18,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "accel/tcg/cpu-ldst.h"
target/rx/op_helper.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "qemu/bitops.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "accel/tcg/cpu-ldst.h" #include "fpu/softfloat.h"
target/rx/translate.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/bswap.h" #include "qemu/qemu-print.h" #include "cpu.h" -#include "exec/exec-all.h" #include "tcg/tcg-op.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h"
target/s390x/interrupt.c +0 -1
@@ -11,7 +11,6 @@#include "cpu.h" #include "kvm/kvm_s390x.h" #include "s390x-internal.h" -#include "exec/exec-all.h" #include "system/kvm.h" #include "system/tcg.h" #include "hw/s390x/ioinst.h"
target/s390x/mmu_helper.c +0 -1
@@ -23,7 +23,6 @@#include "kvm/kvm_s390x.h" #include "system/kvm.h" #include "system/tcg.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "hw/hw.h"
target/s390x/sigp.c +0 -1
@@ -16,7 +16,6 @@#include "system/runstate.h" #include "system/address-spaces.h" #include "exec/cputlb.h" -#include "exec/exec-all.h" #include "system/tcg.h" #include "trace.h" #include "qapi/qapi-types-machine.h"
target/s390x/tcg/cc_helper.c +0 -1
@@ -22,7 +22,6 @@#include "cpu.h" #include "s390x-internal.h" #include "tcg_s390x.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h"
target/s390x/tcg/crypto_helper.c +0 -1
@@ -17,7 +17,6 @@#include "s390x-internal.h" #include "tcg_s390x.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" static uint64_t R (uint64_t x,int c)
target/s390x/tcg/excp_helper.c +0 -1
@@ -23,7 +23,6 @@#include "cpu.h" #include "exec/helper-proto.h" #include "exec/cputlb.h" -#include "exec/exec-all.h" #include "exec/target_page.h" #include "exec/watchpoint.h" #include "s390x-internal.h"
target/s390x/tcg/fpu_helper.c +0 -1
@@ -22,7 +22,6 @@#include "cpu.h" #include "s390x-internal.h" #include "tcg_s390x.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h"
target/s390x/tcg/int_helper.c +0 -1
@@ -22,7 +22,6 @@#include "cpu.h" #include "s390x-internal.h" #include "tcg_s390x.h" -#include "exec/exec-all.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" #include "accel/tcg/cpu-ldst.h"
target/s390x/tcg/mem_helper.c +0 -1
@@ -25,7 +25,6 @@#include "tcg_s390x.h" #include "exec/helper-proto.h" #include "exec/cpu-common.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "exec/page-protection.h" #include "accel/tcg/cpu-ldst.h"
target/s390x/tcg/misc_helper.c +0 -1
@@ -26,7 +26,6 @@#include "qemu/host-utils.h" #include "exec/helper-proto.h" #include "qemu/timer.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "accel/tcg/cpu-ldst.h" #include "exec/target_page.h"
target/s390x/tcg/translate.c +0 -1
@@ -31,7 +31,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "s390x-internal.h" -#include "exec/exec-all.h" #include "tcg/tcg-op.h" #include "tcg/tcg-op-gvec.h" #include "qemu/log.h"
target/s390x/tcg/vec_fpu_helper.c +0 -1
@@ -15,7 +15,6 @@#include "vec.h" #include "tcg_s390x.h" #include "tcg/tcg-gvec-desc.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h"
target/s390x/tcg/vec_helper.c +0 -1
@@ -17,7 +17,6 @@#include "tcg/tcg-gvec-desc.h" #include "exec/helper-proto.h" #include "accel/tcg/cpu-ldst.h" -#include "exec/exec-all.h" void HELPER (gvec_vbperm )(void *v1,const void *v2,const void *v3,uint32_t desc)
target/sh4/cpu.c +0 -1
@@ -24,7 +24,6 @@#include "qemu/qemu-print.h" #include "cpu.h" #include "migration/vmstate.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "fpu/softfloat-helpers.h" #include "tcg/tcg.h"
target/sh4/helper.c +0 -1
@@ -21,7 +21,6 @@#include "cpu.h" #include "exec/cputlb.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "exec/log.h"
target/sh4/op_helper.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "fpu/softfloat.h"
target/sh4/translate.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "tcg/tcg-op.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h"
target/sparc/cpu.c +0 -1
@@ -23,7 +23,6 @@#include "qemu/module.h" #include "qemu/qemu-print.h" #include "accel/tcg/cpu-mmu-index.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "hw/qdev-properties.h" #include "qapi/visitor.h"
target/sparc/fop_helper.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h"
target/sparc/helper.c +0 -1
@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "qemu/timer.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h"
target/sparc/ldst_helper.c +0 -1
@@ -23,7 +23,6 @@#include "cpu.h" #include "tcg/tcg.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "exec/page-protection.h" #include "exec/target_page.h"
target/sparc/machine.c +0 -1
@@ -1,6 +1,5 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "qemu/timer.h" #include "migration/cpu.h"
target/sparc/translate.c +0 -1
@@ -22,7 +22,6 @@#include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "exec/target_page.h" #include "tcg/tcg-op.h" #include "tcg/tcg-op-gvec.h"
target/sparc/win_helper.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu/main-loop.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "trace.h"
target/tricore/cpu.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "qemu/error-report.h" #include "tcg/debug-assert.h"
target/tricore/op_helper.c +0 -1
@@ -18,7 +18,6 @@#include "cpu.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include <zlib.h> /* for crc32 */
target/tricore/translate.c +0 -1
@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "tcg/tcg-op.h" #include "accel/tcg/cpu-ldst.h" #include "qemu/qemu-print.h"
target/xtensa/dbg_helper.c +0 -1
@@ -30,7 +30,6 @@#include "cpu.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h" -#include "exec/exec-all.h" #include "exec/watchpoint.h" #include "system/address-spaces.h"
target/xtensa/exc_helper.c +0 -1
@@ -32,7 +32,6 @@#include "exec/helper-proto.h" #include "qemu/host-utils.h" #include "qemu/atomic.h" -#include "exec/exec-all.h" void HELPER (exception )(CPUXtensaState *env,uint32_t excp) {
target/xtensa/fpu_helper.c +0 -1
@@ -30,7 +30,6 @@#include "cpu.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h" -#include "exec/exec-all.h" #include "fpu/softfloat.h" enum {
target/xtensa/mmu_helper.c +0 -1
@@ -35,7 +35,6 @@#include "exec/cputlb.h" #include "accel/tcg/cpu-mmu-index.h" #include "accel/tcg/probe.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "system/memory.h"
target/xtensa/op_helper.c +0 -1
@@ -30,7 +30,6 @@#include "exec/helper-proto.h" #include "exec/page-protection.h" #include "qemu/host-utils.h" -#include "exec/exec-all.h" #include "system/memory.h" #include "qemu/atomic.h" #include "qemu/timer.h"
target/xtensa/translate.c +0 -1
@@ -31,7 +31,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "tcg/tcg-op.h" #include "qemu/log.h" #include "qemu/qemu-print.h"
target/xtensa/win_helper.c +0 -1
@@ -30,7 +30,6 @@#include "cpu.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h" -#include "exec/exec-all.h" static void copy_window_from_phys (CPUXtensaState *env,uint32_t window,uint32_t phys,uint32_t n)
Signature · 1 line
2.47.1
Re: [PATCH v2 13/13] include: Remove 'exec/exec-all.h'
Quoted 2,007 lines · Philippe Mathieu-Daudé
"
exec/exec-all.h" is now fully empty, let's remove it.Mechanical change running:
$ sed -i '/exec\/exec-all.h/d' $(git grep -wl exec/exec-all.h)Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- MAINTAINERS | 1 - bsd-user/qemu.h | 1 - include/exec/exec-all.h | 23 ----------------------- include/system/ram_addr.h | 1 - linux-user/user-internals.h | 1 - target/arm/tcg/translate.h | 1 - target/i386/tcg/helper-tcg.h | 1 - accel/hvf/hvf-accel-ops.c | 1 - accel/tcg/cputlb.c | 1 - accel/tcg/translate-all.c | 1 - accel/tcg/user-exec.c | 1 - bsd-user/main.c | 1 - hw/ppc/spapr_nested.c | 1 - hw/riscv/riscv-iommu-sys.c | 1 - hw/sh4/sh7750.c | 1 - linux-user/main.c | 1 - semihosting/uaccess.c | 1 - system/physmem.c | 1 - target/alpha/cpu.c | 1 - target/alpha/fpu_helper.c | 1 - target/alpha/int_helper.c | 1 - target/alpha/mem_helper.c | 1 - target/alpha/translate.c | 1 - target/alpha/vax_helper.c | 1 - target/arm/cpu.c | 1 - target/arm/debug_helper.c | 1 - target/arm/helper.c | 1 - target/arm/ptw.c | 1 - target/arm/tcg/helper-a64.c | 1 - target/arm/tcg/m_helper.c | 1 - target/arm/tcg/mte_helper.c | 1 - target/arm/tcg/mve_helper.c | 1 - target/arm/tcg/op_helper.c | 1 - target/arm/tcg/pauth_helper.c | 1 - target/arm/tcg/sme_helper.c | 1 - target/arm/tcg/sve_helper.c | 1 - target/arm/tcg/tlb_helper.c | 1 - target/arm/tcg/translate-a64.c | 1 - target/avr/cpu.c | 1 - target/avr/translate.c | 1 - target/hexagon/cpu.c | 1 - target/hexagon/op_helper.c | 1 - target/hppa/cpu.c | 1 - target/hppa/fpu_helper.c | 1 - target/hppa/helper.c | 1 - target/hppa/mem_helper.c | 1 - target/hppa/op_helper.c | 1 - target/hppa/sys_helper.c | 1 - target/hppa/translate.c | 1 - target/i386/tcg/access.c | 1 - target/i386/tcg/excp_helper.c | 1 - target/i386/tcg/int_helper.c | 1 - target/i386/tcg/mem_helper.c | 1 - target/i386/tcg/mpx_helper.c | 1 - target/i386/tcg/seg_helper.c | 1 - target/i386/tcg/system/bpt_helper.c | 1 - target/i386/tcg/translate.c | 1 - target/i386/tcg/user/excp_helper.c | 1 - target/i386/tcg/user/seg_helper.c | 1 - target/loongarch/cpu.c | 1 - target/loongarch/tcg/fpu_helper.c | 1 - target/loongarch/tcg/iocsr_helper.c | 1 - target/loongarch/tcg/op_helper.c | 1 - target/loongarch/tcg/tlb_helper.c | 1 - target/loongarch/tcg/vec_helper.c | 1 - target/m68k/fpu_helper.c | 1 - target/m68k/helper.c | 1 - target/m68k/op_helper.c | 1 - target/m68k/translate.c | 1 - target/microblaze/cpu.c | 1 - target/microblaze/op_helper.c | 1 - target/microblaze/translate.c | 1 - target/mips/cpu.c | 1 - target/mips/system/physaddr.c | 1 - target/mips/tcg/exception.c | 1 - target/mips/tcg/fpu_helper.c | 1 - target/mips/tcg/ldst_helper.c | 1 - target/mips/tcg/msa_helper.c | 1 - target/mips/tcg/op_helper.c | 1 - target/mips/tcg/system/special_helper.c | 1 - target/mips/tcg/system/tlb_helper.c | 1 - target/openrisc/cpu.c | 1 - target/openrisc/exception.c | 1 - target/openrisc/exception_helper.c | 1 - target/openrisc/fpu_helper.c | 1 - target/openrisc/interrupt.c | 1 - target/openrisc/interrupt_helper.c | 1 - target/openrisc/sys_helper.c | 1 - target/openrisc/translate.c | 1 - target/ppc/excp_helper.c | 1 - target/ppc/fpu_helper.c | 1 - target/ppc/machine.c | 1 - target/ppc/mem_helper.c | 1 - target/ppc/misc_helper.c | 1 - target/ppc/mmu-hash32.c | 1 - target/ppc/mmu-hash64.c | 1 - target/ppc/mmu-radix64.c | 1 - target/ppc/mmu_common.c | 1 - target/ppc/mmu_helper.c | 1 - target/ppc/power8-pmu.c | 1 - target/ppc/tcg-excp_helper.c | 1 - target/ppc/timebase_helper.c | 1 - target/ppc/translate.c | 1 - target/ppc/user_only_helper.c | 1 - target/riscv/cpu.c | 1 - target/riscv/cpu_helper.c | 1 - target/riscv/crypto_helper.c | 1 - target/riscv/csr.c | 1 - target/riscv/debug.c | 1 - target/riscv/fpu_helper.c | 1 - target/riscv/m128_helper.c | 1 - target/riscv/op_helper.c | 1 - target/riscv/tcg/tcg-cpu.c | 1 - target/riscv/translate.c | 1 - target/riscv/vcrypto_helper.c | 1 - target/riscv/vector_helper.c | 1 - target/riscv/zce_helper.c | 1 - target/rx/op_helper.c | 1 - target/rx/translate.c | 1 - target/s390x/interrupt.c | 1 - target/s390x/mmu_helper.c | 1 - target/s390x/sigp.c | 1 - target/s390x/tcg/cc_helper.c | 1 - target/s390x/tcg/crypto_helper.c | 1 - target/s390x/tcg/excp_helper.c | 1 - target/s390x/tcg/fpu_helper.c | 1 - target/s390x/tcg/int_helper.c | 1 - target/s390x/tcg/mem_helper.c | 1 - target/s390x/tcg/misc_helper.c | 1 - target/s390x/tcg/translate.c | 1 - target/s390x/tcg/vec_fpu_helper.c | 1 - target/s390x/tcg/vec_helper.c | 1 - target/sh4/cpu.c | 1 - target/sh4/helper.c | 1 - target/sh4/op_helper.c | 1 - target/sh4/translate.c | 1 - target/sparc/cpu.c | 1 - target/sparc/fop_helper.c | 1 - target/sparc/helper.c | 1 - target/sparc/ldst_helper.c | 1 - target/sparc/machine.c | 1 - target/sparc/translate.c | 1 - target/sparc/win_helper.c | 1 - target/tricore/cpu.c | 1 - target/tricore/op_helper.c | 1 - target/tricore/translate.c | 1 - target/xtensa/dbg_helper.c | 1 - target/xtensa/exc_helper.c | 1 - target/xtensa/fpu_helper.c | 1 - target/xtensa/mmu_helper.c | 1 - target/xtensa/op_helper.c | 1 - target/xtensa/translate.c | 1 - target/xtensa/win_helper.c | 1 - 153 files changed, 175 deletions(-)delete mode 100644
include/exec/exec-all.hMAINTAINERS +0
-1@@ -493,7 +493,6 @@ M: Richard Henderson <[email protected]> R: Paolo Bonzini <[email protected]> S: Maintained F: include/exec/cpu*.h -F: include/exec/exec-all.h F: include/exec/target_long.h F: include/qemu/accel.h F: include/system/accel-*.hbsd-user/qemu.h +0
-1@@ -23,7 +23,6 @@#include "cpu.h" #include "qemu/units.h" #include "accel/tcg/cpu-ldst.h" -#include "exec/exec-all.h" #include "user/abitypes.h" #include "user/cpu_loop.h" include/exec/exec-all.h deleted +0
-23@@ -1,23 +0,0 @@ -/* -* internal execution defines for qemu -* -* Copyright (c) 2003 Fabrice Bellard -* -* This library is free software; you can redistribute it and/or -* modify it under the terms of the GNU Lesser General Public -* License as published by the Free Software Foundation; either -* version 2.1 of the License, or (at your option) any later version. -* -* This library is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -* Lesser General Public License for more details. -* -* You should have received a copy of the GNU Lesser General Public -* License along with this library; if not, see <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.gnu.org_licenses_&d=DwIDaQ&c=s883GpUCOChKOHiocYtGcg&r=c23RpsaH4D2MKyD3EPJTDa0BAxz6tV8aUJqVSoytEiY&m=6TMJT5zrxee-SJABzNzFk9_DN2gyL-f9_rTfrp-rmtxiukqsFHeXs9RDSnAvUFFQ&s=cYte9ccJ0C-9Ymfthc9Rc2lOYJLLjDZX2zdrYNH_Yns&e= >. -*/ - -#ifndef EXEC_ALL_H -#define EXEC_ALL_H - -#endif include/system/ram_addr.h +0
-1@@ -24,7 +24,6 @@#include "exec/cputlb.h" #include "exec/ramlist.h" #include "system/ramblock.h" -#include "exec/exec-all.h" #include "system/memory.h" #include "exec/target_page.h" #include "qemu/rcu.h" linux-user/user-internals.h +0
-1@@ -19,7 +19,6 @@#define LINUX_USER_USER_INTERNALS_H #include "user/thunk.h" -#include "exec/exec-all.h" #include "qemu/log.h" extern char *exec_path;target/arm/tcg/translate.h +0
-1@@ -4,7 +4,6 @@#include "cpu.h" #include "tcg/tcg-op.h" #include "tcg/tcg-op-gvec.h" -#include "exec/exec-all.h" #include "exec/translator.h" #include "exec/translation-block.h" #include "exec/helper-gen.h" target/i386/tcg/helper-tcg.h +0
-1@@ -20,7 +20,6 @@#ifndef I386_HELPER_TCG_H #define I386_HELPER_TCG_H -#include "exec/exec-all.h" #include "qemu/host-utils.h" /* Maximum instruction code size */ accel/hvf/hvf-accel-ops.c +0
-1@@ -51,7 +51,6 @@#include "qemu/error-report.h" #include "qemu/main-loop.h" #include "system/address-spaces.h" -#include "exec/exec-all.h" #include "gdbstub/enums.h" #include "hw/boards.h" #include "system/accel-ops.h" accel/tcg/cputlb.c +0
-1@@ -22,7 +22,6 @@#include "accel/tcg/cpu-ops.h" #include "accel/tcg/iommu.h" #include "accel/tcg/probe.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "system/memory.h" #include "accel/tcg/cpu-ldst.h" accel/tcg/translate-all.c +0
-1@@ -21,7 +21,6 @@#include "trace.h" #include "disas/disas.h" -#include "exec/exec-all.h" #include "tcg/tcg.h" #if defined(CONFIG_USER_ONLY )#include "qemu.h" accel/tcg/user-exec.c +0
-1@@ -21,7 +21,6 @@#include "disas/disas.h" #include "cpu.h" #include "exec/vaddr.h" -#include "exec/exec-all.h" #include "exec/tlb-flags.h" #include "tcg/tcg.h" #include "qemu/bitops.h" bsd-user/main.c +0
-1@@ -36,7 +36,6 @@#include "qemu/help_option.h" #include "qemu/module.h" #include "qemu/plugin.h" -#include "exec/exec-all.h" #include "user/guest-base.h" #include "user/page-protection.h" #include "tcg/startup.h" hw/ppc/spapr_nested.c +0
-1@@ -1,6 +1,5 @@#include "qemu/osdep.h" #include "qemu/cutils.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "exec/target_long.h" #include "helper_regs.h" hw/riscv/riscv-iommu-sys.c +0
-1@@ -26,7 +26,6 @@#include "qemu/host-utils.h" #include "qemu/module.h" #include "qom/object.h" -#include "exec/exec-all.h" #include "trace.h" #include "riscv-iommu.h" hw/sh4/sh7750.c +0
-1@@ -36,7 +36,6 @@#include "sh7750_regnames.h" #include "hw/sh4/sh_intc.h" #include "hw/timer/tmu012.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "trace.h" linux-user/main.c +0
-1@@ -40,7 +40,6 @@#include "qemu/plugin.h" #include "user/guest-base.h" #include "user/page-protection.h" -#include "exec/exec-all.h" #include "exec/gdbstub.h" #include "gdbstub/user.h" #include "tcg/startup.h" semihosting/uaccess.c +0
-1@@ -10,7 +10,6 @@#include "qemu/osdep.h" #include "accel/tcg/cpu-mmu-index.h" #include "accel/tcg/probe.h" -#include "exec/exec-all.h" #include "exec/target_page.h" #include "exec/tlb-flags.h" #include "semihosting/uaccess.h" system/physmem.c +0
-1@@ -32,7 +32,6 @@#include "accel/tcg/iommu.h" #endif /* CONFIG_TCG */ -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "exec/page-protection.h" #include "exec/target_page.h" target/alpha/cpu.c +0
-1@@ -23,7 +23,6 @@#include "qapi/error.h" #include "qemu/qemu-print.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "exec/target_page.h" #include "fpu/softfloat.h" target/alpha/fpu_helper.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" target/alpha/int_helper.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h" target/alpha/mem_helper.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" static void do_unaligned_access (CPUAlphaState *env,vaddr addr,uintptr_t retaddr)target/alpha/translate.c +0
-1@@ -21,7 +21,6 @@#include "cpu.h" #include "system/cpus.h" #include "qemu/host-utils.h" -#include "exec/exec-all.h" #include "tcg/tcg-op.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h" target/alpha/vax_helper.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" target/arm/cpu.c +0
-1@@ -33,7 +33,6 @@#endif /* CONFIG_TCG */ #include "internals.h" #include "cpu-features.h" -#include "exec/exec-all.h" #include "exec/target_page.h" #include "hw/qdev-properties.h" #if !defined(CONFIG_USER_ONLY )target/arm/debug_helper.c +0
-1@@ -11,7 +11,6 @@#include "internals.h" #include "cpu-features.h" #include "cpregs.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "exec/watchpoint.h" #include "system/tcg.h" target/arm/helper.c +0
-1@@ -20,7 +20,6 @@#include "qemu/bitops.h" #include "qemu/qemu-print.h" #include "exec/cputlb.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "hw/irq.h" #include "system/cpu-timers.h" target/arm/ptw.c +0
-1@@ -10,7 +10,6 @@#include "qemu/log.h" #include "qemu/range.h" #include "qemu/main-loop.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "exec/tlb-flags.h" target/arm/tcg/helper-a64.c +0
-1@@ -29,7 +29,6 @@#include "internals.h" #include "qemu/crc32c.h" #include "exec/cpu-common.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h" #include "exec/target_page.h" target/arm/tcg/m_helper.c +0
-1@@ -15,7 +15,6 @@#include "qemu/main-loop.h" #include "qemu/bitops.h" #include "qemu/log.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #ifdef CONFIG_TCG #include "accel/tcg/cpu-ldst.h" target/arm/tcg/mte_helper.c +0
-1@@ -21,7 +21,6 @@#include "qemu/log.h" #include "cpu.h" #include "internals.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #ifdef CONFIG_USER_ONLY #include "user/cpu_loop.h" target/arm/tcg/mve_helper.c +0
-1@@ -23,7 +23,6 @@#include "vec_internal.h" #include "exec/helper-proto.h" #include "accel/tcg/cpu-ldst.h" -#include "exec/exec-all.h" #include "tcg/tcg.h" #include "fpu/softfloat.h" #include "crypto/clmul.h" target/arm/tcg/op_helper.c +0
-1@@ -23,7 +23,6 @@#include "exec/target_page.h" #include "internals.h" #include "cpu-features.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h" #include "cpregs.h" target/arm/tcg/pauth_helper.c +0
-1@@ -21,7 +21,6 @@#include "cpu.h" #include "internals.h" #include "cpu-features.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "exec/helper-proto.h" #include "tcg/tcg-gvec-desc.h" target/arm/tcg/sme_helper.c +0
-1@@ -23,7 +23,6 @@#include "tcg/tcg-gvec-desc.h" #include "exec/helper-proto.h" #include "accel/tcg/cpu-ldst.h" -#include "exec/exec-all.h" #include "qemu/int128.h" #include "fpu/softfloat.h" #include "vec_internal.h" target/arm/tcg/sve_helper.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "internals.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/helper-proto.h" #include "exec/target_page.h" target/arm/tcg/tlb_helper.c +0
-1@@ -9,7 +9,6 @@#include "cpu.h" #include "internals.h" #include "cpu-features.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" target/arm/tcg/translate-a64.c +0
-1@@ -17,7 +17,6 @@* License along with this library; if not, see <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.gnu.org_licenses_&d=DwIDaQ&c=s883GpUCOChKOHiocYtGcg&r=c23RpsaH4D2MKyD3EPJTDa0BAxz6tV8aUJqVSoytEiY&m=6TMJT5zrxee-SJABzNzFk9_DN2gyL-f9_rTfrp-rmtxiukqsFHeXs9RDSnAvUFFQ&s=cYte9ccJ0C-9Ymfthc9Rc2lOYJLLjDZX2zdrYNH_Yns&e= >. */ #include "qemu/osdep.h" -#include "exec/exec-all.h" #include "exec/target_page.h" #include "translate.h" #include "translate-a64.h" target/avr/cpu.c +0
-1@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/qemu-print.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "system/address-spaces.h" #include "cpu.h" target/avr/translate.c +0
-1@@ -22,7 +22,6 @@#include "qemu/qemu-print.h" #include "tcg/tcg.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "tcg/tcg-op.h" #include "exec/helper-proto.h" target/hexagon/cpu.c +0
-1@@ -19,7 +19,6 @@#include "qemu/qemu-print.h" #include "cpu.h" #include "internal.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "qapi/error.h" #include "hw/qdev-properties.h" target/hexagon/op_helper.c +0
-1@@ -17,7 +17,6 @@#include "qemu/osdep.h" #include "qemu/log.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h" #include "exec/helper-proto.h" target/hppa/cpu.c +0
-1@@ -24,7 +24,6 @@#include "qemu/timer.h" #include "cpu.h" #include "qemu/module.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "exec/target_page.h" #include "fpu/softfloat.h" target/hppa/fpu_helper.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" target/hppa/helper.c +0
-1@@ -21,7 +21,6 @@#include "qemu/log.h" #include "cpu.h" #include "fpu/softfloat.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "qemu/qemu-print.h" #include "hw/hppa/hppa_hardware.h" target/hppa/mem_helper.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "accel/tcg/cpu-mmu-index.h" #include "accel/tcg/probe.h" target/hppa/op_helper.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h" target/hppa/sys_helper.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "qemu/timer.h" #include "system/runstate.h" target/hppa/translate.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "qemu/host-utils.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "tcg/tcg-op.h" #include "tcg/tcg-op-gvec.h" target/i386/tcg/access.c +0
-1@@ -5,7 +5,6 @@#include "cpu.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h" -#include "exec/exec-all.h" #include "exec/target_page.h" #include "access.h" target/i386/tcg/excp_helper.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "qemu/log.h" #include "system/runstate.h" #include "exec/helper-proto.h" target/i386/tcg/int_helper.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "cpu.h" -#include "exec/exec-all.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" #include "qapi/error.h" target/i386/tcg/mem_helper.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "qemu/int128.h" #include "qemu/atomic128.h" target/i386/tcg/mpx_helper.c +0
-1@@ -21,7 +21,6 @@#include "cpu.h" #include "exec/helper-proto.h" #include "accel/tcg/cpu-ldst.h" -#include "exec/exec-all.h" #include "exec/target_page.h" #include "helper-tcg.h" target/i386/tcg/seg_helper.c +0
-1@@ -22,7 +22,6 @@#include "cpu.h" #include "qemu/log.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h" #include "exec/log.h" target/i386/tcg/system/bpt_helper.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "exec/watchpoint.h" #include "tcg/helper-tcg.h" target/i386/tcg/translate.c +0
-1@@ -21,7 +21,6 @@#include "qemu/host-utils.h" #include "cpu.h" #include "accel/tcg/cpu-mmu-index.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "tcg/tcg-op.h" #include "tcg/tcg-op-gvec.h" target/i386/tcg/user/excp_helper.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "tcg/helper-tcg.h" void x86_cpu_record_sigsegv(CPUState *cs, vaddr addr,target/i386/tcg/user/seg_helper.c +0
-1@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "tcg/helper-tcg.h" #include "tcg/seg_helper.h" target/loongarch/cpu.c +0
-1@@ -15,7 +15,6 @@#include "system/kvm.h" #include "kvm/kvm_loongarch.h" #include "hw/qdev-properties.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "cpu.h" #include "internals.h" target/loongarch/tcg/fpu_helper.c +0
-1@@ -8,7 +8,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "fpu/softfloat.h" #include "internals.h" target/loongarch/tcg/iocsr_helper.c +0
-1@@ -9,7 +9,6 @@#include "cpu.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #define GET_MEMTXATTRS (cas) \target/loongarch/tcg/op_helper.c +0
-1@@ -10,7 +10,6 @@#include "cpu.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "internals.h" #include "qemu/crc32c.h" target/loongarch/tcg/tlb_helper.c +0
-1@@ -13,7 +13,6 @@#include "internals.h" #include "exec/helper-proto.h" #include "exec/cputlb.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "accel/tcg/cpu-ldst.h" target/loongarch/tcg/vec_helper.c +0
-1@@ -7,7 +7,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" #include "internals.h" target/m68k/fpu_helper.c +0
-1@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "softfloat.h" target/m68k/helper.c +0
-1@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/cputlb.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "exec/gdbstub.h" target/m68k/op_helper.c +0
-1@@ -20,7 +20,6 @@#include "qemu/log.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "semihosting/semihost.h" target/m68k/translate.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "exec/target_page.h" #include "tcg/tcg-op.h" target/microblaze/cpu.c +0
-1@@ -27,7 +27,6 @@#include "cpu.h" #include "qemu/module.h" #include "hw/qdev-properties.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "exec/gdbstub.h" #include "exec/translation-block.h" target/microblaze/op_helper.c +0
-1@@ -23,7 +23,6 @@#include "cpu.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "fpu/softfloat.h" target/microblaze/translate.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "tcg/tcg-op.h" #include "exec/helper-proto.h" target/mips/cpu.c +0
-1@@ -29,7 +29,6 @@#include "qemu/module.h" #include "system/kvm.h" #include "system/qtest.h" -#include "exec/exec-all.h" #include "hw/qdev-properties.h" #include "hw/qdev-clock.h" #include "fpu_helper.h" target/mips/system/physaddr.c +0
-1@@ -18,7 +18,6 @@*/ #include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "../internal.h" target/mips/tcg/exception.c +0
-1@@ -23,7 +23,6 @@#include "cpu.h" #include "internal.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" target_ulong exception_resume_pc (CPUMIPSState *env)target/mips/tcg/fpu_helper.c +0
-1@@ -24,7 +24,6 @@#include "cpu.h" #include "internal.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "fpu/softfloat.h" #include "fpu_helper.h" target/mips/tcg/ldst_helper.c +0
-1@@ -23,7 +23,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "exec/memop.h" #include "internal.h" target/mips/tcg/msa_helper.c +0
-1@@ -21,7 +21,6 @@#include "cpu.h" #include "internal.h" #include "tcg/tcg.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h" #include "exec/helper-proto.h" target/mips/tcg/op_helper.c +0
-1@@ -22,7 +22,6 @@#include "cpu.h" #include "internal.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "exec/memop.h" #include "fpu_helper.h" target/mips/tcg/system/special_helper.c +0
-1@@ -22,7 +22,6 @@#include "qemu/log.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "internal.h" target/mips/tcg/system/tlb_helper.c +0
-1@@ -22,7 +22,6 @@#include "cpu.h" #include "internal.h" #include "exec/cputlb.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "accel/tcg/cpu-ldst.h" target/openrisc/cpu.c +0
-1@@ -21,7 +21,6 @@#include "qapi/error.h" #include "qemu/qemu-print.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "fpu/softfloat-helpers.h" #include "tcg/tcg.h" target/openrisc/exception.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exception.h" G_NORETURN void raise_exception(OpenRISCCPU *cpu, uint32_t excp)target/openrisc/exception_helper.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "exception.h" target/openrisc/fpu_helper.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" target/openrisc/interrupt.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "cpu.h" -#include "exec/exec-all.h" #include "gdbstub/helpers.h" #include "qemu/host-utils.h" #ifndef CONFIG_USER_ONLY target/openrisc/interrupt_helper.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" void HELPER (rfe )(CPUOpenRISCState *env)target/openrisc/sys_helper.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "exec/target_page.h" #include "exec/helper-proto.h" target/openrisc/translate.c +0
-1@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "accel/tcg/cpu-mmu-index.h" -#include "exec/exec-all.h" #include "tcg/tcg-op.h" #include "qemu/log.h" #include "qemu/bitops.h" target/ppc/excp_helper.c +0
-1@@ -24,7 +24,6 @@#include "system/system.h" #include "system/runstate.h" #include "cpu.h" -#include "exec/exec-all.h" #include "internal.h" #include "helper_regs.h" #include "hw/ppc/ppc.h" target/ppc/fpu_helper.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "internal.h" #include "fpu/softfloat.h" target/ppc/machine.c +0
-1@@ -1,6 +1,5 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "system/kvm.h" #include "system/tcg.h" #include "helper_regs.h" target/ppc/mem_helper.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/target_page.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" target/ppc/misc_helper.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu/log.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "exec/helper-proto.h" #include "qemu/error-report.h" target/ppc/mmu-hash32.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "system/kvm.h" target/ppc/mmu-hash64.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu/units.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "qemu/error-report.h" #include "qemu/qemu-print.h" target/ppc/mmu-radix64.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "qemu/error-report.h" #include "system/kvm.h" target/ppc/mmu_common.c +0
-1@@ -24,7 +24,6 @@#include "kvm_ppc.h" #include "mmu-hash64.h" #include "mmu-hash32.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "exec/log.h" target/ppc/mmu_helper.c +0
-1@@ -25,7 +25,6 @@#include "mmu-hash64.h" #include "mmu-hash32.h" #include "exec/cputlb.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "exec/log.h" target/ppc/power8-pmu.c +0
-1@@ -13,7 +13,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "helper_regs.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "qemu/error-report.h" #include "qemu/timer.h" target/ppc/tcg-excp_helper.c +0
-1@@ -21,7 +21,6 @@#include "qemu/log.h" #include "target/ppc/cpu.h" #include "accel/tcg/cpu-ldst.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "system/runstate.h" target/ppc/timebase_helper.c +0
-1@@ -20,7 +20,6 @@#include "cpu.h" #include "hw/ppc/ppc.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "qemu/log.h" #include "qemu/main-loop.h" target/ppc/translate.c +0
-1@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "internal.h" -#include "exec/exec-all.h" #include "exec/target_page.h" #include "tcg/tcg-op.h" #include "tcg/tcg-op-gvec.h" target/ppc/user_only_helper.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "internal.h" void ppc_cpu_record_sigsegv(CPUState *cs, vaddr address,target/riscv/cpu.c +0
-1@@ -24,7 +24,6 @@#include "cpu.h" #include "cpu_vendorid.h" #include "internals.h" -#include "exec/exec-all.h" #include "qapi/error.h" #include "qapi/visitor.h" #include "qemu/error-report.h" target/riscv/cpu_helper.c +0
-1@@ -24,7 +24,6 @@#include "internals.h" #include "pmu.h" #include "exec/cputlb.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "system/memory.h" target/riscv/crypto_helper.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "crypto/aes.h" #include "crypto/aes-round.h" target/riscv/csr.c +0
-1@@ -24,7 +24,6 @@#include "tcg/tcg-cpu.h" #include "pmu.h" #include "time_helper.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "exec/tb-flush.h" #include "exec/icount.h" target/riscv/debug.c +0
-1@@ -28,7 +28,6 @@#include "qapi/error.h" #include "cpu.h" #include "trace.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "exec/watchpoint.h" #include "system/cpu-timers.h" target/riscv/fpu_helper.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "qemu/host-utils.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" #include "internals.h" target/riscv/m128_helper.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" target_ulong HELPER(divu_i128)(CPURISCVState *env,target/riscv/op_helper.c +0
-1@@ -21,7 +21,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "internals.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h" target/riscv/tcg/tcg-cpu.c +0
-1@@ -18,7 +18,6 @@*/ #include "qemu/osdep.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "tcg-cpu.h" #include "cpu.h" target/riscv/translate.c +0
-1@@ -20,7 +20,6 @@#include "qemu/log.h" #include "cpu.h" #include "tcg/tcg-op.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h" #include "exec/target_page.h" target/riscv/vcrypto_helper.c +0
-1@@ -26,7 +26,6 @@#include "crypto/aes-round.h" #include "crypto/sm4.h" #include "exec/memop.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "internals.h" #include "vector_internals.h" target/riscv/vector_helper.c +0
-1@@ -21,7 +21,6 @@#include "qemu/bitops.h" #include "cpu.h" #include "exec/memop.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h" #include "exec/page-protection.h" target/riscv/zce_helper.c +0
-1@@ -18,7 +18,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "accel/tcg/cpu-ldst.h" target/rx/op_helper.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "qemu/bitops.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "accel/tcg/cpu-ldst.h" #include "fpu/softfloat.h" target/rx/translate.c +0
-1@@ -20,7 +20,6 @@#include "qemu/bswap.h" #include "qemu/qemu-print.h" #include "cpu.h" -#include "exec/exec-all.h" #include "tcg/tcg-op.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h" target/s390x/interrupt.c +0
-1@@ -11,7 +11,6 @@#include "cpu.h" #include "kvm/kvm_s390x.h" #include "s390x-internal.h" -#include "exec/exec-all.h" #include "system/kvm.h" #include "system/tcg.h" #include "hw/s390x/ioinst.h" target/s390x/mmu_helper.c +0
-1@@ -23,7 +23,6 @@#include "kvm/kvm_s390x.h" #include "system/kvm.h" #include "system/tcg.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "hw/hw.h" target/s390x/sigp.c +0
-1@@ -16,7 +16,6 @@#include "system/runstate.h" #include "system/address-spaces.h" #include "exec/cputlb.h" -#include "exec/exec-all.h" #include "system/tcg.h" #include "trace.h" #include "qapi/qapi-types-machine.h" target/s390x/tcg/cc_helper.c +0
-1@@ -22,7 +22,6 @@#include "cpu.h" #include "s390x-internal.h" #include "tcg_s390x.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h" target/s390x/tcg/crypto_helper.c +0
-1@@ -17,7 +17,6 @@#include "s390x-internal.h" #include "tcg_s390x.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" static uint64_t R (uint64_t x,int c)target/s390x/tcg/excp_helper.c +0
-1@@ -23,7 +23,6 @@#include "cpu.h" #include "exec/helper-proto.h" #include "exec/cputlb.h" -#include "exec/exec-all.h" #include "exec/target_page.h" #include "exec/watchpoint.h" #include "s390x-internal.h" target/s390x/tcg/fpu_helper.c +0
-1@@ -22,7 +22,6 @@#include "cpu.h" #include "s390x-internal.h" #include "tcg_s390x.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" target/s390x/tcg/int_helper.c +0
-1@@ -22,7 +22,6 @@#include "cpu.h" #include "s390x-internal.h" #include "tcg_s390x.h" -#include "exec/exec-all.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" #include "accel/tcg/cpu-ldst.h" target/s390x/tcg/mem_helper.c +0
-1@@ -25,7 +25,6 @@#include "tcg_s390x.h" #include "exec/helper-proto.h" #include "exec/cpu-common.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "exec/page-protection.h" #include "accel/tcg/cpu-ldst.h" target/s390x/tcg/misc_helper.c +0
-1@@ -26,7 +26,6 @@#include "qemu/host-utils.h" #include "exec/helper-proto.h" #include "qemu/timer.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "accel/tcg/cpu-ldst.h" #include "exec/target_page.h" target/s390x/tcg/translate.c +0
-1@@ -31,7 +31,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "s390x-internal.h" -#include "exec/exec-all.h" #include "tcg/tcg-op.h" #include "tcg/tcg-op-gvec.h" #include "qemu/log.h" target/s390x/tcg/vec_fpu_helper.c +0
-1@@ -15,7 +15,6 @@#include "vec.h" #include "tcg_s390x.h" #include "tcg/tcg-gvec-desc.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" target/s390x/tcg/vec_helper.c +0
-1@@ -17,7 +17,6 @@#include "tcg/tcg-gvec-desc.h" #include "exec/helper-proto.h" #include "accel/tcg/cpu-ldst.h" -#include "exec/exec-all.h" void HELPER (gvec_vbperm )(void *v1,const void *v2,const void *v3,uint32_t desc)target/sh4/cpu.c +0
-1@@ -24,7 +24,6 @@#include "qemu/qemu-print.h" #include "cpu.h" #include "migration/vmstate.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "fpu/softfloat-helpers.h" #include "tcg/tcg.h" target/sh4/helper.c +0
-1@@ -21,7 +21,6 @@#include "cpu.h" #include "exec/cputlb.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "exec/log.h" target/sh4/op_helper.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include "fpu/softfloat.h" target/sh4/translate.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "tcg/tcg-op.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h" target/sparc/cpu.c +0
-1@@ -23,7 +23,6 @@#include "qemu/module.h" #include "qemu/qemu-print.h" #include "accel/tcg/cpu-mmu-index.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "hw/qdev-properties.h" #include "qapi/visitor.h" target/sparc/fop_helper.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "fpu/softfloat.h" target/sparc/helper.c +0
-1@@ -19,7 +19,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "qemu/timer.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" target/sparc/ldst_helper.c +0
-1@@ -23,7 +23,6 @@#include "cpu.h" #include "tcg/tcg.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "exec/cputlb.h" #include "exec/page-protection.h" #include "exec/target_page.h" target/sparc/machine.c +0
-1@@ -1,6 +1,5 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "qemu/timer.h" #include "migration/cpu.h" target/sparc/translate.c +0
-1@@ -22,7 +22,6 @@#include "cpu.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "exec/target_page.h" #include "tcg/tcg-op.h" #include "tcg/tcg-op-gvec.h" target/sparc/win_helper.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qemu/main-loop.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/helper-proto.h" #include "trace.h" target/tricore/cpu.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "qapi/error.h" #include "cpu.h" -#include "exec/exec-all.h" #include "exec/translation-block.h" #include "qemu/error-report.h" #include "tcg/debug-assert.h" target/tricore/op_helper.c +0
-1@@ -18,7 +18,6 @@#include "cpu.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" -#include "exec/exec-all.h" #include "accel/tcg/cpu-ldst.h" #include <zlib.h> /* for crc32 */ target/tricore/translate.c +0
-1@@ -20,7 +20,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "tcg/tcg-op.h" #include "accel/tcg/cpu-ldst.h" #include "qemu/qemu-print.h" target/xtensa/dbg_helper.c +0
-1@@ -30,7 +30,6 @@#include "cpu.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h" -#include "exec/exec-all.h" #include "exec/watchpoint.h" #include "system/address-spaces.h" target/xtensa/exc_helper.c +0
-1@@ -32,7 +32,6 @@#include "exec/helper-proto.h" #include "qemu/host-utils.h" #include "qemu/atomic.h" -#include "exec/exec-all.h" void HELPER (exception )(CPUXtensaState *env,uint32_t excp) {target/xtensa/fpu_helper.c +0
-1@@ -30,7 +30,6 @@#include "cpu.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h" -#include "exec/exec-all.h" #include "fpu/softfloat.h" enum {target/xtensa/mmu_helper.c +0
-1@@ -35,7 +35,6 @@#include "exec/cputlb.h" #include "accel/tcg/cpu-mmu-index.h" #include "accel/tcg/probe.h" -#include "exec/exec-all.h" #include "exec/page-protection.h" #include "exec/target_page.h" #include "system/memory.h" target/xtensa/op_helper.c +0
-1@@ -30,7 +30,6 @@#include "exec/helper-proto.h" #include "exec/page-protection.h" #include "qemu/host-utils.h" -#include "exec/exec-all.h" #include "system/memory.h" #include "qemu/atomic.h" #include "qemu/timer.h" target/xtensa/translate.c +0
-1@@ -31,7 +31,6 @@#include "qemu/osdep.h" #include "cpu.h" -#include "exec/exec-all.h" #include "tcg/tcg-op.h" #include "qemu/log.h" #include "qemu/qemu-print.h" target/xtensa/win_helper.c +0
-0
target/xtensa/win_helper.c line 35
Quoted 7 lines
target/xtensa/win_helper.c +0
-1@@ -30,7 +30,6 @@#include "cpu.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h" -#include "exec/exec-all.h" static void copy_window_from_phys (CPUXtensaState *env,uint32_t window,uint32_t phys,uint32_t n)
Nice!
ATB,
Mark.