mirror of
https://github.com/qemu/qemu.git
synced 2026-02-04 02:24:51 +00:00
For SME2, we need to expose the new ZT0 register in the gdbstub XML. gdb documents that the requirements are: > The ‘org.gnu.gdb.aarch64.sme2’ feature is optional. If present, > then the ‘org.gnu.gdb.aarch64.sme’ feature must also be present. > The ‘org.gnu.gdb.aarch64.sme2’ feature should contain the > following: > > - ZT0 is a register of 512 bits (64 bytes). It is defined as a > vector of bytes. Implement this. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20251017153027.969016-2-peter.maydell@linaro.org
15 lines
503 B
XML
15 lines
503 B
XML
<?xml version="1.0"?>
|
|
<!-- Copyright (C) 2025 Linaro Ltd.
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
This is the SME2 ZT0 register. Upstream GDB dynamically generates
|
|
the XML for this feature, but because the vector is always 64 bytes
|
|
in size we prefer to use static XML for it.
|
|
-->
|
|
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
|
|
<feature name="org.gnu.gdb.aarch64.sme2">
|
|
<vector id="sme2_bv" type="uint8" count="64"/>
|
|
<reg name="zt0" bitsize="512" type="sme2_bv"/>
|
|
</feature>
|