aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch/aarch64.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/arch/aarch64.h')
-rw-r--r--gdb/arch/aarch64.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/arch/aarch64.h b/gdb/arch/aarch64.h
index 86185f5..b291a09 100644
--- a/gdb/arch/aarch64.h
+++ b/gdb/arch/aarch64.h
@@ -22,7 +22,11 @@
#include "common/tdesc.h"
-target_desc *aarch64_create_target_description ();
+/* Create the aarch64 target description. A non zero VQ value indicates both
+ the presence of SVE and the Vector Quotient - the number of 128bit chunks in
+ an SVE Z register. */
+
+target_desc *aarch64_create_target_description (long vq);
/* Register numbers of various important registers. */
enum aarch64_regnum
@@ -48,4 +52,7 @@ enum aarch64_regnum
#define AARCH64_V_REGS_NUM 32
#define AARCH64_NUM_REGS AARCH64_FPCR_REGNUM + 1
+/* Maximum supported VQ value. Increase if required. */
+#define AARCH64_MAX_SVE_VQ 16
+
#endif /* ARCH_AARCH64_H */