[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 67/84] accel/tcg: Move translator_fake_ldb out of line
|
From: |
Richard Henderson |
|
Subject: |
[PATCH 67/84] accel/tcg: Move translator_fake_ldb out of line |
|
Date: |
Wed, 3 May 2023 08:23:14 +0100 |
This is used by exactly one host in extraordinary circumstances.
This means that translator.h need not include plugin-gen.h;
translator.c already includes plugin-gen.h.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
include/exec/translator.h | 8 +-------
accel/tcg/translator.c | 5 +++++
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/include/exec/translator.h b/include/exec/translator.h
index c1a1203789..228002a623 100644
--- a/include/exec/translator.h
+++ b/include/exec/translator.h
@@ -22,7 +22,6 @@
#include "qemu/bswap.h"
#include "exec/exec-all.h"
#include "exec/cpu_ldst.h"
-#include "exec/plugin-gen.h"
#include "exec/translate-all.h"
#include "tcg/tcg.h"
@@ -229,12 +228,7 @@ translator_ldq_swap(CPUArchState *env, DisasContextBase
*db,
* re-synthesised for s390x "ex"). It ensures we update other areas of
* the translator with details of the executed instruction.
*/
-
-static inline void translator_fake_ldb(uint8_t insn8, abi_ptr pc)
-{
- plugin_insn_append(pc, &insn8, sizeof(insn8));
-}
-
+void translator_fake_ldb(uint8_t insn8, abi_ptr pc);
/*
* Return whether addr is on the same page as where disassembly started.
diff --git a/accel/tcg/translator.c b/accel/tcg/translator.c
index 7a130e706e..60a613c99d 100644
--- a/accel/tcg/translator.c
+++ b/accel/tcg/translator.c
@@ -345,3 +345,8 @@ uint64_t translator_ldq(CPUArchState *env, DisasContextBase
*db, abi_ptr pc)
plugin_insn_append(pc, &plug, sizeof(ret));
return ret;
}
+
+void translator_fake_ldb(uint8_t insn8, abi_ptr pc)
+{
+ plugin_insn_append(pc, &insn8, sizeof(insn8));
+}
--
2.34.1
- [PATCH 48/84] tcg: Move TCGHelperInfo and dependencies to tcg/helper-info.h, (continued)
- [PATCH 48/84] tcg: Move TCGHelperInfo and dependencies to tcg/helper-info.h, Richard Henderson, 2023/05/03
- [PATCH 55/84] tcg: Add guest_mo to TCGContext, Richard Henderson, 2023/05/03
- [PATCH 62/84] tcg: Remove USE_TCG_OPTIMIZATIONS, Richard Henderson, 2023/05/03
- [PATCH 57/84] tcg: Split tcg/tcg-op-gvec.h, Richard Henderson, 2023/05/03
- [PATCH 68/84] target/arm: Tidy helpers for translation, Richard Henderson, 2023/05/03
- [PATCH 69/84] target/mips: Tidy helpers for translation, Richard Henderson, 2023/05/03
- [PATCH 63/84] tcg: Spit out exec/translation-block.h, Richard Henderson, 2023/05/03
- [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 <=
- [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, 2023/05/03
- [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