summaryrefslogtreecommitdiffstats
path: root/target/arm/cpu.h
diff options
context:
space:
mode:
authorAlex Bennée2020-03-16 18:21:43 +0100
committerAlex Bennée2020-03-17 18:38:38 +0100
commit32d6e32afa694ebedf2c5f3bf6f013c5debb5959 (patch)
treecf5979974f7b81cd6b3907f1ddad32c044c7bd58 /target/arm/cpu.h
parenttarget/arm: prepare for multiple dynamic XMLs (diff)
downloadqemu-32d6e32afa694ebedf2c5f3bf6f013c5debb5959.tar.gz
qemu-32d6e32afa694ebedf2c5f3bf6f013c5debb5959.tar.xz
qemu-32d6e32afa694ebedf2c5f3bf6f013c5debb5959.zip
target/arm: explicitly encode regnum in our XML
This is described as optional but I'm not convinced of the numbering when multiple target fragments are sent. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200316172155.971-17-alex.bennee@linaro.org>
Diffstat (limited to 'target/arm/cpu.h')
-rw-r--r--target/arm/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/cpu.h b/target/arm/cpu.h
index 0ab82c987c..fbfd73a7b5 100644
--- a/target/arm/cpu.h
+++ b/target/arm/cpu.h
@@ -980,7 +980,7 @@ int arm_cpu_gdb_write_register(CPUState *cpu, uint8_t *buf, int reg);
/* Dynamically generates for gdb stub an XML description of the sysregs from
* the cp_regs hashtable. Returns the registered sysregs number.
*/
-int arm_gen_dynamic_sysreg_xml(CPUState *cpu);
+int arm_gen_dynamic_sysreg_xml(CPUState *cpu, int base_reg);
/* Returns the dynamically generated XML for the gdb stub.
* Returns a pointer to the XML contents for the specified XML file or NULL