mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
target/mips: Restrict mmu_init() to TCG
mmu_init() is only required by TCG accelerator. Restrict its declaration and call to TCG. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210428170410.479308-21-f4bug@amsat.org>
This commit is contained in:
parent
ad520a9784
commit
c284201702
3 changed files with 3 additions and 4 deletions
|
@ -233,9 +233,6 @@ void cpu_mips_store_compare(CPUMIPSState *env, uint32_t value);
|
|||
void cpu_mips_start_count(CPUMIPSState *env);
|
||||
void cpu_mips_stop_count(CPUMIPSState *env);
|
||||
|
||||
/* helper.c */
|
||||
void mmu_init(CPUMIPSState *env, const mips_def_t *def);
|
||||
|
||||
static inline void mips_env_set_pc(CPUMIPSState *env, target_ulong value)
|
||||
{
|
||||
env->active_tc.PC = value & ~(target_ulong)1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue