summary refs log tree commit diff stats
path: root/target/arm/gdbstub.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2023-10-24 17:35:05 +0100
committerPeter Maydell <peter.maydell@linaro.org>2023-10-27 11:44:32 +0100
commit5a534314a85b735f766aa64b35697ed1d59f7068 (patch)
tree750ed0ee22a3383d6e5557c1a7a6d652fa6064b3 /target/arm/gdbstub.c
parentdfff1000fef24f6686e0be5e6472613985a363dc (diff)
downloadfocaccia-qemu-5a534314a85b735f766aa64b35697ed1d59f7068.tar.gz
focaccia-qemu-5a534314a85b735f766aa64b35697ed1d59f7068.zip
target/arm: Move feature test functions to their own header
The feature test functions isar_feature_*() now take up nearly
a thousand lines in target/arm/cpu.h. This header file is included
by a lot of source files, most of which don't need these functions.
Move the feature test functions to their own header file.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20231024163510.2972081-2-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/gdbstub.c')
-rw-r--r--target/arm/gdbstub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/arm/gdbstub.c b/target/arm/gdbstub.c
index b7ace24bfc..28f546a5ff 100644
--- a/target/arm/gdbstub.c
+++ b/target/arm/gdbstub.c
@@ -23,6 +23,7 @@
 #include "gdbstub/helpers.h"
 #include "sysemu/tcg.h"
 #include "internals.h"
+#include "cpu-features.h"
 #include "cpregs.h"
 
 typedef struct RegisterSysregXmlParam {