[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 02/14] target/arm: Unexport arm_gen_dynamic_sysreg_xml
From: |
Richard Henderson |
Subject: |
[PATCH v3 02/14] target/arm: Unexport arm_gen_dynamic_sysreg_xml |
Date: |
Mon, 27 Feb 2023 11:33:17 -1000 |
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>
---
target/arm/cpu.h | 1 -
target/arm/gdbstub.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/target/arm/cpu.h b/target/arm/cpu.h
index 12b1082537..32ca6c9a0d 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 cf1c01e3cf..52581e9784 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);
--
2.34.1
- [PATCH v3 00/14] target/arm: gdbstub cleanups and additions, Richard Henderson, 2023/02/27
- [PATCH v3 01/14] target/arm: Normalize aarch64 gdbstub get/set function names, Richard Henderson, 2023/02/27
- [PATCH v3 02/14] target/arm: Unexport arm_gen_dynamic_sysreg_xml,
Richard Henderson <=
- [PATCH v3 03/14] target/arm: Move arm_gen_dynamic_svereg_xml to gdbstub64.c, Richard Henderson, 2023/02/27
- [PATCH v3 04/14] target/arm: Split out output_vector_union_type, Richard Henderson, 2023/02/27
- [PATCH v3 05/14] target/arm: Simplify register counting in arm_gen_dynamic_svereg_xml, Richard Henderson, 2023/02/27
- [PATCH v3 06/14] target/arm: Hoist pred_width in arm_gen_dynamic_svereg_xml, Richard Henderson, 2023/02/27
- [PATCH v3 07/14] target/arm: Fix svep width in arm_gen_dynamic_svereg_xml, Richard Henderson, 2023/02/27
- [PATCH v3 08/14] target/arm: Add name argument to output_vector_union_type, Richard Henderson, 2023/02/27
- [PATCH v3 09/14] target/arm: Simplify iteration over bit widths, Richard Henderson, 2023/02/27
- [PATCH v3 10/14] target/arm: Create pauth_ptr_mask, Richard Henderson, 2023/02/27
- [PATCH v3 11/14] target/arm: Implement gdbstub pauth extension, Richard Henderson, 2023/02/27
- [PATCH v3 12/14] target/arm: Export arm_v7m_mrs_control, Richard Henderson, 2023/02/27