[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 44/48] tcg: Remove target-specific headers from tcg.[ch]
From: |
Richard Henderson |
Subject: |
[PATCH v3 44/48] tcg: Remove target-specific headers from tcg.[ch] |
Date: |
Tue, 30 May 2023 21:03:26 -0700 |
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 635fa53fdb..a498f31967 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 3e528f191d..5c13615112 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 f8410ba5db..2b28ed3556 100644
--- a/tcg/region.c
+++ b/tcg/region.c
@@ -30,8 +30,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 8c1ad49c4e..c07de5d9f8 100644
--- a/tcg/tcg-op.c
+++ b/tcg/tcg-op.c
@@ -23,10 +23,10 @@
*/
#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 41186f540f..3fcd0d9f32 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -34,7 +34,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 v3 36/48] accel/tcg: Move translator_fake_ldb out of line, (continued)
- [PATCH v3 36/48] accel/tcg: Move translator_fake_ldb out of line, Richard Henderson, 2023/05/31
- [PATCH v3 38/48] target/mips: Tidy helpers for translation, Richard Henderson, 2023/05/31
- [PATCH v3 48/48] tcg: Build once for system and once for user-only, Richard Henderson, 2023/05/31
- [PATCH v3 46/48] plugins: Drop unused headers from exec/plugin-gen.h, Richard Henderson, 2023/05/31
- [PATCH v3 40/48] *: Add missing includes of exec/exec-all.h, Richard Henderson, 2023/05/31
- [PATCH v3 41/48] accel/tcg: Tidy includes for translator.[ch], Richard Henderson, 2023/05/31
- [PATCH v3 43/48] tcg: Move env defines out of NEED_CPU_H in helper-head.h, Richard Henderson, 2023/05/31
- [PATCH v3 44/48] tcg: Remove target-specific headers from tcg.[ch],
Richard Henderson <=
- [PATCH v3 47/48] exec/poison: Do not poison CONFIG_SOFTMMU, Richard Henderson, 2023/05/31
- [PATCH v3 42/48] tcg: Fix PAGE/PROT confusion, Richard Henderson, 2023/05/31
- [PATCH v3 45/48] plugins: Move plugin_insn_append to translator.c, Richard Henderson, 2023/05/31