diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-12-06 23:12:23 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-01-14 17:13:53 +0100 |
commit | e9927723ba928230222d68ece45d232ed602e78a (patch) | |
tree | 81fcc17494e666a301db7bc51db05320ad4a23db /target/mips/internal.h | |
parent | 2be565f9c2f8c2a1eb40efb86175e9f0c76761a4 (diff) | |
download | qemu-e9927723ba928230222d68ece45d232ed602e78a.zip qemu-e9927723ba928230222d68ece45d232ed602e78a.tar.gz qemu-e9927723ba928230222d68ece45d232ed602e78a.tar.bz2 |
target/mips: Move common helpers from helper.c to cpu.c
The rest of helper.c is TLB related. Extract the non TLB
specific functions to cpu.c, so we can rename helper.c as
tlb_helper.c in the next commit.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20201214183739.500368-6-f4bug@amsat.org>
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 f159187..ae1181d 100644 --- a/target/mips/internal.h +++ b/target/mips/internal.h @@ -399,6 +399,8 @@ void sync_c0_status(CPUMIPSState *env, CPUMIPSState *cpu, int tc); void cpu_mips_store_status(CPUMIPSState *env, target_ulong val); void cpu_mips_store_cause(CPUMIPSState *env, target_ulong val); +const char *mips_exception_name(int32_t exception); + void QEMU_NORETURN do_raise_exception_err(CPUMIPSState *env, uint32_t exception, int error_code, uintptr_t pc); |