aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierrick Bouvier <pierrick.bouvier@linaro.org>2025-05-12 11:04:53 -0700
committerPeter Maydell <peter.maydell@linaro.org>2025-05-14 15:12:40 +0100
commit368b42f6dd64521b9282ddefa9e267eca621271c (patch)
tree2f89e1c563f1acdef6d5ae28ca25ecd5cc6db678
parent2c5058cc1eb77ed5340448aa6dea13ae4f4f1593 (diff)
downloadqemu-368b42f6dd64521b9282ddefa9e267eca621271c.zip
qemu-368b42f6dd64521b9282ddefa9e267eca621271c.tar.gz
qemu-368b42f6dd64521b9282ddefa9e267eca621271c.tar.bz2
target/arm/tcg/vec_internal: use forward declaration for CPUARMState
Needed so this header can be included without requiring cpu.h. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-id: 20250512180502.2395029-40-pierrick.bouvier@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--target/arm/tcg/vec_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/arm/tcg/vec_internal.h b/target/arm/tcg/vec_internal.h
index 6b93b5a..c02f9c3 100644
--- a/target/arm/tcg/vec_internal.h
+++ b/target/arm/tcg/vec_internal.h
@@ -22,6 +22,8 @@
#include "fpu/softfloat.h"
+typedef struct CPUArchState CPUARMState;
+
/*
* Note that vector data is stored in host-endian 64-bit chunks,
* so addressing units smaller than that needs a host-endian fixup.