mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
target/mips: Move Special opcodes to tcg/sysemu/special_helper.c
Move the Special opcodes helpers to tcg/sysemu/special_helper.c. Since mips_io_recompile_replay_branch() is set as CPUClass::io_recompile_replay_branch handler in cpu.c, we need to declare its prototype in "tcg-internal.h". Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210428170410.479308-24-f4bug@amsat.org>
This commit is contained in:
parent
f3185ec2f3
commit
d60146a938
7 changed files with 151 additions and 122 deletions
|
@ -10,6 +10,7 @@
|
|||
#ifndef MIPS_TCG_INTERNAL_H
|
||||
#define MIPS_TCG_INTERNAL_H
|
||||
|
||||
#include "tcg/tcg.h"
|
||||
#include "hw/core/cpu.h"
|
||||
#include "cpu.h"
|
||||
|
||||
|
@ -27,6 +28,8 @@ void update_pagemask(CPUMIPSState *env, target_ulong arg1, int32_t *pagemask);
|
|||
void r4k_invalidate_tlb(CPUMIPSState *env, int idx, int use_extra);
|
||||
uint32_t cpu_mips_get_random(CPUMIPSState *env);
|
||||
|
||||
bool mips_io_recompile_replay_branch(CPUState *cs, const TranslationBlock *tb);
|
||||
|
||||
hwaddr cpu_mips_translate_address(CPUMIPSState *env, target_ulong address,
|
||||
MMUAccessType access_type, uintptr_t retaddr);
|
||||
void cpu_mips_tlb_flush(CPUMIPSState *env);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue