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/cpu.c | |
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/cpu.c')
-rw-r--r-- | target/mips/cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/mips/cpu.c b/target/mips/cpu.c index 001b1b88e2..4c4548233c 100644 --- a/target/mips/cpu.c +++ b/target/mips/cpu.c @@ -33,6 +33,7 @@ #include "hw/qdev-clock.h" #include "hw/semihosting/semihost.h" #include "qapi/qapi-commands-machine-target.h" +#include "fpu_helper.h" #if !defined(CONFIG_USER_ONLY) |