aboutsummaryrefslogtreecommitdiff
path: root/target/xtensa/cpu.h
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2020-06-28 02:53:32 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2020-08-21 12:48:15 -0700
commitee659da21af5707191ef35e8de549d028790e7f5 (patch)
tree8f7f65cffb008fcda2bc19142c1ccc26c983dbc7 /target/xtensa/cpu.h
parentfbcc38e4cb1b539b8615ec9b0adc285351d77628 (diff)
downloadqemu-ee659da21af5707191ef35e8de549d028790e7f5.zip
qemu-ee659da21af5707191ef35e8de549d028790e7f5.tar.gz
qemu-ee659da21af5707191ef35e8de549d028790e7f5.tar.bz2
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 <jcmvbkbc@gmail.com>
Diffstat (limited to 'target/xtensa/cpu.h')
-rw-r--r--target/xtensa/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/xtensa/cpu.h b/target/xtensa/cpu.h
index 0c96181..0409aa6 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);