[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 06/53] disas: Remove target-specific headers
|
From: |
Richard Henderson |
|
Subject: |
[PULL 06/53] disas: Remove target-specific headers |
|
Date: |
Thu, 11 May 2023 09:04:03 +0100 |
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230503072331.1747057-83-richard.henderson@linaro.org>
---
include/disas/disas.h | 6 ------
disas/disas.c | 3 ++-
2 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/include/disas/disas.h b/include/disas/disas.h
index 6c394e0b09..176775eff7 100644
--- a/include/disas/disas.h
+++ b/include/disas/disas.h
@@ -1,11 +1,6 @@
#ifndef QEMU_DISAS_H
#define QEMU_DISAS_H
-#include "exec/hwaddr.h"
-
-#ifdef NEED_CPU_H
-#include "cpu.h"
-
/* Disassemble this for me please... (debugging). */
void disas(FILE *out, const void *code, size_t size);
void target_disas(FILE *out, CPUState *cpu, uint64_t code, size_t size);
@@ -17,7 +12,6 @@ char *plugin_disas(CPUState *cpu, uint64_t addr, size_t size);
/* Look up symbol for debugging purpose. Returns "" if unknown. */
const char *lookup_symbol(uint64_t orig_addr);
-#endif
struct syminfo;
struct elf32_sym;
diff --git a/disas/disas.c b/disas/disas.c
index aac7cf3b03..a06954254b 100644
--- a/disas/disas.c
+++ b/disas/disas.c
@@ -3,9 +3,10 @@
#include "disas/dis-asm.h"
#include "elf.h"
#include "qemu/qemu-print.h"
-
#include "disas/disas.h"
#include "disas/capstone.h"
+#include "hw/core/cpu.h"
+#include "exec/memory.h"
typedef struct CPUDebug {
struct disassemble_info info;
--
2.34.1
- [PULL 04/53] disas: Move disas.c to disas/, (continued)
- [PULL 04/53] disas: Move disas.c to disas/, Richard Henderson, 2023/05/11
- [PULL 07/53] disas: Move softmmu specific code to separate file, Richard Henderson, 2023/05/11
- [PULL 11/53] tcg/i386: Introduce prepare_host_addr, Richard Henderson, 2023/05/11
- [PULL 13/53] tcg/aarch64: Introduce prepare_host_addr, Richard Henderson, 2023/05/11
- [PULL 08/53] disas: Move disas.c into the target-independent source set, Richard Henderson, 2023/05/11
- [PULL 14/53] tcg/arm: Introduce prepare_host_addr, Richard Henderson, 2023/05/11
- [PULL 18/53] tcg/riscv: Introduce prepare_host_addr, Richard Henderson, 2023/05/11
- [PULL 09/53] cpu: expose qemu_cpu_list_lock for lock-guard use, Richard Henderson, 2023/05/11
- [PULL 02/53] accel/tcg: Fix atomic_mmu_lookup for reads, Richard Henderson, 2023/05/11
- [PULL 17/53] tcg/ppc: Introduce prepare_host_addr, Richard Henderson, 2023/05/11
- [PULL 06/53] disas: Remove target-specific headers,
Richard Henderson <=
- [PULL 10/53] accel/tcg/tcg-accel-ops-rr: ensure fairness with icount, Richard Henderson, 2023/05/11
- [PULL 12/53] tcg/i386: Use indexed addressing for softmmu fast path, Richard Henderson, 2023/05/11
- [PULL 25/53] tcg/loongarch64: Convert tcg_out_qemu_{ld,st}_slow_path, Richard Henderson, 2023/05/11
- [PULL 26/53] tcg/mips: Convert tcg_out_qemu_{ld,st}_slow_path, Richard Henderson, 2023/05/11
- [PULL 31/53] tcg/mips: Remove MO_BSWAP handling, Richard Henderson, 2023/05/11
- [PULL 34/53] tcg/ppc: Reorg tcg_out_tlb_read, Richard Henderson, 2023/05/11
- [PULL 15/53] tcg/loongarch64: Introduce prepare_host_addr, Richard Henderson, 2023/05/11
- [PULL 21/53] tcg/i386: Convert tcg_out_qemu_ld_slow_path, Richard Henderson, 2023/05/11
- [PULL 22/53] tcg/i386: Convert tcg_out_qemu_st_slow_path, Richard Henderson, 2023/05/11
- [PULL 33/53] tcg/mips: Simplify constraints on qemu_ld/st, Richard Henderson, 2023/05/11