diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-02-27 11:33:17 -1000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2023-03-06 14:08:11 +0000 |
commit | 4bce95b45ec0f12790bdb3036eb1137f65822ff9 (patch) | |
tree | 4159d9bdd08f2f6d956c8d829b38af9c557375ef /target/arm | |
parent | 963a6b91c230ed292530e2009ac11b6515a198ed (diff) | |
download | qemu-4bce95b45ec0f12790bdb3036eb1137f65822ff9.zip qemu-4bce95b45ec0f12790bdb3036eb1137f65822ff9.tar.gz qemu-4bce95b45ec0f12790bdb3036eb1137f65822ff9.tar.bz2 |
target/arm: Unexport arm_gen_dynamic_sysreg_xml
This function is not used outside gdbstub.c.
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230227213329.793795-3-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm')
-rw-r--r-- | target/arm/cpu.h | 1 | ||||
-rw-r--r-- | target/arm/gdbstub.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/target/arm/cpu.h b/target/arm/cpu.h index 7871216..209800d 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -1116,7 +1116,6 @@ int arm_cpu_gdb_write_register(CPUState *cpu, uint8_t *buf, int reg); * Helpers to dynamically generates XML descriptions of the sysregs * and SVE registers. Returns the number of registers in each set. */ -int arm_gen_dynamic_sysreg_xml(CPUState *cpu, int base_reg); int arm_gen_dynamic_svereg_xml(CPUState *cpu, int base_reg); /* Returns the dynamically generated XML for the gdb stub. diff --git a/target/arm/gdbstub.c b/target/arm/gdbstub.c index cf1c01e..52581e9 100644 --- a/target/arm/gdbstub.c +++ b/target/arm/gdbstub.c @@ -305,7 +305,7 @@ static void arm_register_sysreg_for_xml(gpointer key, gpointer value, } } -int arm_gen_dynamic_sysreg_xml(CPUState *cs, int base_reg) +static int arm_gen_dynamic_sysreg_xml(CPUState *cs, int base_reg) { ARMCPU *cpu = ARM_CPU(cs); GString *s = g_string_new(NULL); |