]> git.proxmox.com Git - mirror_qemu.git/commit
target/mips: Make CPU/FPU regnames[] arrays global
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 16 Jan 2021 13:26:33 +0000 (14:26 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 2 May 2021 14:49:34 +0000 (16:49 +0200)
commitadbf1be325482af13e374573fc875fbe15600348
tree8a06ad6fb34e61e802ebd3176c8543f665920b31
parentfed50ffd5ce4b03f94036232c613b2ca8fba06eb
target/mips: Make CPU/FPU regnames[] arrays global

The CPU/FPU regnames[] arrays is used in mips_tcg_init() and
mips_cpu_dump_state(), which while being in translate.c is
not specific to TCG.

To be able to move mips_cpu_dump_state() to cpu.c, which is
compiled for all accelerator, we need to make the regnames[]
arrays global to target/mips/ by declaring them in "internal.h".

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210428170410.479308-5-f4bug@amsat.org>
target/mips/cpu.c
target/mips/fpu.c
target/mips/internal.h
target/mips/translate.c