target/arm: Restrict TCG specific headers

Avoid including TCG-specific headers in non-TCG builds.

Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20260617171438.75914-2-philmd@oss.qualcomm.com>
This commit is contained in:
Philippe Mathieu-Daudé
2026-06-16 12:22:18 +02:00
parent 2ed7af8213
commit 7ffe6b81f0
2 changed files with 5 additions and 2 deletions

View File

@@ -8,10 +8,11 @@
#include "qemu/osdep.h"
#include "cpu.h"
#include "accel/tcg/cpu-ops.h"
#include "internals.h"
#ifdef CONFIG_TCG
#include "accel/tcg/cpu-ops.h"
static inline bool arm_excp_unmasked(CPUState *cs, unsigned int excp_idx,
unsigned int target_el,
unsigned int cur_el, bool secure,

View File

@@ -29,9 +29,11 @@
#include "exec/vaddr.h"
#include "exec/breakpoint.h"
#include "exec/memop.h"
#ifdef CONFIG_TCG
#include "accel/tcg/tb-cpu-state.h"
#include "hw/core/registerfields.h"
#include "tcg/tcg-gvec-desc.h"
#endif
#include "hw/core/registerfields.h"
#include "system/memory.h"
#include "syndrome.h"
#include "cpu-features.h"