[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 76/84] tcg: Remove target-specific headers from tcg.[ch]
|
From: |
Richard Henderson |
|
Subject: |
[PATCH 76/84] tcg: Remove target-specific headers from tcg.[ch] |
|
Date: |
Wed, 3 May 2023 08:23:23 +0100 |
This finally paves the way for tcg/ to be built once per mode.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
include/tcg/tcg.h | 1 -
accel/tcg/plugin-gen.c | 1 +
tcg/region.c | 2 +-
tcg/tcg-op.c | 2 +-
tcg/tcg.c | 2 +-
5 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h
index 1af6cd5ad4..57f181dd9e 100644
--- a/include/tcg/tcg.h
+++ b/include/tcg/tcg.h
@@ -25,7 +25,6 @@
#ifndef TCG_H
#define TCG_H
-#include "cpu.h"
#include "exec/memop.h"
#include "exec/memopidx.h"
#include "qemu/bitops.h"
diff --git a/accel/tcg/plugin-gen.c b/accel/tcg/plugin-gen.c
index 36dc1ea39c..03e6035a52 100644
--- a/accel/tcg/plugin-gen.c
+++ b/accel/tcg/plugin-gen.c
@@ -43,6 +43,7 @@
* CPU's index into a TCG temp, since the first callback did it already.
*/
#include "qemu/osdep.h"
+#include "cpu.h"
#include "tcg/tcg.h"
#include "tcg/tcg-temp-internal.h"
#include "tcg/tcg-op.h"
diff --git a/tcg/region.c b/tcg/region.c
index 184e684b04..cf4568bb8f 100644
--- a/tcg/region.c
+++ b/tcg/region.c
@@ -32,8 +32,8 @@
#include "qemu/cacheinfo.h"
#include "qemu/qtree.h"
#include "qapi/error.h"
-#include "exec/exec-all.h"
#include "tcg/tcg.h"
+#include "exec/translation-block.h"
#include "tcg-internal.h"
diff --git a/tcg/tcg-op.c b/tcg/tcg-op.c
index 16ff61c65d..ba12bf053e 100644
--- a/tcg/tcg-op.c
+++ b/tcg/tcg-op.c
@@ -25,10 +25,10 @@
#define IN_TCG
#include "qemu/osdep.h"
-#include "exec/exec-all.h"
#include "tcg/tcg.h"
#include "tcg/tcg-temp-internal.h"
#include "tcg/tcg-op-common.h"
+#include "exec/translation-block.h"
#include "exec/plugin-gen.h"
#include "tcg-internal.h"
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 40a82cda5e..8314b912f7 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -36,7 +36,7 @@
#include "qemu/cacheflush.h"
#include "qemu/cacheinfo.h"
#include "qemu/timer.h"
-#include "exec/exec-all.h"
+#include "exec/translation-block.h"
#include "exec/tlb-common.h"
#include "tcg/tcg-op-common.h"
--
2.34.1
- [PATCH 65/84] accel/tcg: Move most of gen-icount.h into translator.c, (continued)
- [PATCH 65/84] accel/tcg: Move most of gen-icount.h into translator.c, Richard Henderson, 2023/05/03
- [PATCH 52/84] tcg: Split helper-gen.h, Richard Henderson, 2023/05/03
- [PATCH 59/84] exec-all: Widen tb_page_addr_t for user-only, Richard Henderson, 2023/05/03
- [PATCH 67/84] accel/tcg: Move translator_fake_ldb out of line, Richard Henderson, 2023/05/03
- [PATCH 49/84] tcg: Pass TCGHelperInfo to tcg_gen_callN, Richard Henderson, 2023/05/03
- [PATCH 56/84] tcg: Move TLB_FLAGS_MASK check out of get_alignment_bits, Richard Henderson, 2023/05/03
- [PATCH 64/84] include/exec: Remove CODE_GEN_AVG_BLOCK_SIZE, Richard Henderson, 2023/05/03
- [PATCH 61/84] tcg: Remove DEBUG_DISAS, Richard Henderson, 2023/05/03
- [PATCH 72/84] accel/tcg: Tidy includes for translator.[ch], Richard Henderson, 2023/05/03
- [PATCH 73/84] tcg: Define IN_TCG, Richard Henderson, 2023/05/03
- [PATCH 76/84] tcg: Remove target-specific headers from tcg.[ch],
Richard Henderson <=
- [PATCH 70/84] *: Add missing includes of exec/translation-block.h, Richard Henderson, 2023/05/03
- [PATCH 66/84] accel/tcg: Introduce translator_io_start, Richard Henderson, 2023/05/03
- [PATCH 58/84] tcg: Remove NO_CPU_IO_DEFS, Richard Henderson, 2023/05/03
- [PATCH 60/84] exec-all: Widen TranslationBlock pc and cs_base to 64-bits, Richard Henderson, 2023/05/03
- [PATCH 71/84] *: Add missing includes of exec/exec-all.h, Richard Henderson, 2023/05/03
- [PATCH 74/84] tcg: Fix PAGE/PROT confusion, Richard Henderson, 2023/05/03
- [PATCH 75/84] tcg: Move env defines out of NEED_CPU_H in helper-head.h, Richard Henderson, 2023/05/03
- [PATCH 77/84] plugins: Move plugin_insn_append to translator.c, Richard Henderson, 2023/05/03
- [PATCH 78/84] plugins: Drop unused headers from exec/plugin-gen.h, Richard Henderson, 2023/05/03
- [PATCH 79/84] disas: Move disas.c to disas/, Richard Henderson, 2023/05/03