From ee659da21af5707191ef35e8de549d028790e7f5 Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Sun, 28 Jun 2020 02:53:32 -0700 Subject: target/xtensa: add geometry to xtensa_get_regfile_by_name Register file name may not uniquely identify a register file in the set of configurations. E.g. floating point registers may have different size in different configurations. Use register file geometry as additional identifier. Signed-off-by: Max Filippov --- target/xtensa/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/xtensa/cpu.h') diff --git a/target/xtensa/cpu.h b/target/xtensa/cpu.h index 0c96181212..0409aa6189 100644 --- a/target/xtensa/cpu.h +++ b/target/xtensa/cpu.h @@ -598,7 +598,7 @@ void xtensa_cpu_do_unaligned_access(CPUState *cpu, vaddr addr, void xtensa_collect_sr_names(const XtensaConfig *config); void xtensa_translate_init(void); -void **xtensa_get_regfile_by_name(const char *name); +void **xtensa_get_regfile_by_name(const char *name, int entries, int bits); void xtensa_breakpoint_handler(CPUState *cs); void xtensa_register_core(XtensaConfigList *node); void xtensa_sim_open_console(Chardev *chr); -- cgit v1.2.3