diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-11-30 13:47:40 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-01-14 17:13:53 +0100 |
commit | 03e4d95c91fb29e27b0248dd18c236c6fcc8dc02 (patch) | |
tree | 1644b6ab5b603161b3521947c8241da9a4f3a8c8 /target/mips/internal.h | |
parent | 810fda17c8ea9b93f7c2bcc48e70cf7a3dbc7e91 (diff) |
target/mips: Move msa_reset() to msa_helper.c
translate_init.c.inc mostly contains CPU definitions.
msa_reset() doesn't belong here, move it with the MSA
helpers.
One comment style is updated to avoid checkpatch.pl warning.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20201215225757.764263-15-f4bug@amsat.org>
Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Diffstat (limited to 'target/mips/internal.h')
-rw-r--r-- | target/mips/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/mips/internal.h b/target/mips/internal.h index 1048781bcf..5dd17ff733 100644 --- a/target/mips/internal.h +++ b/target/mips/internal.h @@ -199,6 +199,8 @@ static inline bool cpu_mips_hw_interrupts_pending(CPUMIPSState *env) void mips_tcg_init(void); +void msa_reset(CPUMIPSState *env); + /* cp0_timer.c */ uint32_t cpu_mips_get_count(CPUMIPSState *env); void cpu_mips_store_count(CPUMIPSState *env, uint32_t value); |