target/mips: Extract MXU code to new mxu_translate.c file

Extract 1600+ lines from the big translate.c into a new file.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210226093111.3865906-14-f4bug@amsat.org>
This commit is contained in:
Philippe Mathieu-Daudé 2021-02-17 21:23:49 +01:00
parent fe35ea9483
commit b24db6fcd4
3 changed files with 1613 additions and 1605 deletions

View File

@ -24,6 +24,10 @@ mips_tcg_ss.add(files(
'translate.c',
'translate_addr_const.c',
))
mips_tcg_ss.add(when: 'TARGET_MIPS64', if_false: files(
'mxu_translate.c',
))
mips_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
mips_softmmu_ss = ss.source_set()

1609
target/mips/mxu_translate.c Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff