diff options
author | Philippe Mathieu-Daudé | 2021-04-13 21:40:33 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2021-05-02 16:49:35 +0200 |
commit | 8aa52bdc87aaf54c497902a91aaf4096cb780660 (patch) | |
tree | 26d914e38abb81cdc6d9713ea9908a984b7b2052 /target/mips/internal.h | |
parent | target/mips: Move TLB management helpers to tcg/sysemu/tlb_helper.c (diff) | |
download | qemu-8aa52bdc87aaf54c497902a91aaf4096cb780660.tar.gz qemu-8aa52bdc87aaf54c497902a91aaf4096cb780660.tar.xz qemu-8aa52bdc87aaf54c497902a91aaf4096cb780660.zip |
target/mips: Move exception management code to exception.c
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210428170410.479308-27-f4bug@amsat.org>
Diffstat (limited to 'target/mips/internal.h')
-rw-r--r-- | target/mips/internal.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/target/mips/internal.h b/target/mips/internal.h index a1c7f658c2..07573c3e38 100644 --- a/target/mips/internal.h +++ b/target/mips/internal.h @@ -80,7 +80,6 @@ extern const char fregnames[32][4]; extern const struct mips_def_t mips_defs[]; extern const int mips_defs_number; -bool mips_cpu_exec_interrupt(CPUState *cpu, int int_req); int mips_cpu_gdb_read_register(CPUState *cpu, GByteArray *buf, int reg); int mips_cpu_gdb_write_register(CPUState *cpu, uint8_t *buf, int reg); void mips_cpu_do_unaligned_access(CPUState *cpu, vaddr addr, @@ -410,16 +409,4 @@ 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); - -static inline void QEMU_NORETURN do_raise_exception(CPUMIPSState *env, - uint32_t exception, - uintptr_t pc) -{ - do_raise_exception_err(env, exception, 0, pc); -} - #endif |