[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 26/39] accel/tcg: Restrict dump_exec_info() declaration
From: |
Richard Henderson |
Subject: |
[PATCH v3 26/39] accel/tcg: Restrict dump_exec_info() declaration |
Date: |
Sat, 16 Sep 2023 14:41:10 -0700 |
From: Philippe Mathieu-Daudé <philmd@linaro.org>
In commit 00c9a5c2c3 ("accel/tcg: Restrict 'qapi-commands-machine.h'
to system emulation") we moved the definition to accel/tcg/ which is
where this function is called. No need to expose it outside.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20230914185718.76241-4-philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
accel/tcg/internal.h | 2 ++
include/exec/cpu-all.h | 5 -----
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/accel/tcg/internal.h b/accel/tcg/internal.h
index e8cbbde581..cd6b9eb7f0 100644
--- a/accel/tcg/internal.h
+++ b/accel/tcg/internal.h
@@ -102,6 +102,8 @@ static inline bool cpu_in_serial_context(CPUState *cs)
extern int64_t max_delay;
extern int64_t max_advance;
+void dump_exec_info(GString *buf);
+
extern bool one_insn_per_tb;
/**
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h
index 6af7944a38..8d262d141e 100644
--- a/include/exec/cpu-all.h
+++ b/include/exec/cpu-all.h
@@ -406,11 +406,6 @@ static inline bool tlb_hit(uint64_t tlb_addr, vaddr addr)
return tlb_hit_page(tlb_addr, addr & TARGET_PAGE_MASK);
}
-#ifdef CONFIG_TCG
-/* accel/tcg/translate-all.c */
-void dump_exec_info(GString *buf);
-#endif /* CONFIG_TCG */
-
#endif /* !CONFIG_USER_ONLY */
/* accel/tcg/cpu-exec.c */
--
2.34.1
- [PATCH v3 15/39] tcg: Remove TCGContext.tlb_fast_offset, (continued)
- [PATCH v3 15/39] tcg: Remove TCGContext.tlb_fast_offset, Richard Henderson, 2023/09/16
- [PATCH v3 17/39] accel/tcg: Modify probe_access_internal() to use CPUState, Richard Henderson, 2023/09/16
- [PATCH v3 16/39] accel/tcg: Modify tlb_*() to use CPUState, Richard Henderson, 2023/09/16
- [PATCH v3 11/39] tcg: Rename cpu_env to tcg_env, Richard Henderson, 2023/09/16
- [PATCH v3 12/39] accel/tcg: Replace CPUState.env_ptr with cpu_env(), Richard Henderson, 2023/09/16
- [PATCH v3 13/39] accel/tcg: Remove cpu_set_cpustate_pointers, Richard Henderson, 2023/09/16
- [PATCH v3 21/39] accel/tcg: Remove env_tlb(), Richard Henderson, 2023/09/16
- [PATCH v3 18/39] accel/tcg: Modify memory access functions to use CPUState, Richard Henderson, 2023/09/16
- [PATCH v3 28/39] accel: Rename accel-common.c -> accel-target.c, Richard Henderson, 2023/09/16
- [PATCH v3 24/39] exec: Make EXCP_FOO definitions target agnostic, Richard Henderson, 2023/09/16
- [PATCH v3 26/39] accel/tcg: Restrict dump_exec_info() declaration,
Richard Henderson <=
- [PATCH v3 29/39] exec: Rename cpu.c -> cpu-target.c, Richard Henderson, 2023/09/16
- [PATCH v3 33/39] accel/tcg: Make icount.o a target agnostic unit, Richard Henderson, 2023/09/16
- [PATCH v3 38/39] accel/tcg: Have tcg_exec_realizefn() return a boolean, Richard Henderson, 2023/09/16
- [PATCH v3 19/39] accel/tcg: Modify atomic_mmu_lookup() to use CPUState, Richard Henderson, 2023/09/16
- [PATCH v3 30/39] exec: Rename target specific page-vary.c -> page-vary-target.c, Richard Henderson, 2023/09/16
- [PATCH v3 32/39] accel/tcg: Make monitor.c a target-agnostic unit, Richard Henderson, 2023/09/16
- [PATCH v3 35/39] accel: Rename accel_cpu_realizefn() -> accel_cpu_realize(), Richard Henderson, 2023/09/16
- [PATCH v3 34/39] accel/tcg: Make cpu-exec-common.c a target agnostic unit, Richard Henderson, 2023/09/16
- [PATCH v3 20/39] accel/tcg: Use CPUState in atomicity helpers, Richard Henderson, 2023/09/16
- [PATCH v3 27/39] accel: Make accel-blocker.o target agnostic, Richard Henderson, 2023/09/16