2017-07-03 13:12:17 +03:00
|
|
|
/*
|
|
|
|
* QEMU TCG accelerator stub
|
|
|
|
*
|
|
|
|
* Copyright Red Hat, Inc. 2013
|
|
|
|
*
|
|
|
|
* Author: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
|
*
|
|
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
|
|
* See the COPYING file in the top-level directory.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "qemu/osdep.h"
|
2023-03-03 05:57:43 +03:00
|
|
|
#include "exec/tb-flush.h"
|
2017-07-03 13:12:17 +03:00
|
|
|
#include "exec/exec-all.h"
|
|
|
|
|
|
|
|
void tb_flush(CPUState *cpu)
|
|
|
|
{
|
|
|
|
}
|
2017-11-22 11:41:57 +03:00
|
|
|
|
2023-06-21 16:56:22 +03:00
|
|
|
void tlb_set_dirty(CPUState *cpu, vaddr vaddr)
|
2017-11-22 11:41:57 +03:00
|
|
|
{
|
|
|
|
}
|
2020-06-18 15:33:42 +03:00
|
|
|
|
2022-08-15 23:13:05 +03:00
|
|
|
void tcg_flush_jmp_cache(CPUState *cpu)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2023-02-24 02:44:24 +03:00
|
|
|
int probe_access_flags(CPUArchState *env, target_ulong addr, int size,
|
2022-05-21 08:12:08 +03:00
|
|
|
MMUAccessType access_type, int mmu_idx,
|
|
|
|
bool nonfault, void **phost, uintptr_t retaddr)
|
|
|
|
{
|
|
|
|
g_assert_not_reached();
|
|
|
|
}
|
|
|
|
|
2020-06-18 15:33:42 +03:00
|
|
|
void *probe_access(CPUArchState *env, target_ulong addr, int size,
|
|
|
|
MMUAccessType access_type, int mmu_idx, uintptr_t retaddr)
|
|
|
|
{
|
|
|
|
/* Handled by hardware accelerator. */
|
|
|
|
g_assert_not_reached();
|
|
|
|
}
|
2021-01-17 19:48:11 +03:00
|
|
|
|
2022-04-20 16:26:02 +03:00
|
|
|
G_NORETURN void cpu_loop_exit(CPUState *cpu)
|
2021-01-17 19:48:11 +03:00
|
|
|
{
|
|
|
|
g_assert_not_reached();
|
|
|
|
}
|
|
|
|
|
2022-04-20 16:26:02 +03:00
|
|
|
G_NORETURN void cpu_loop_exit_restore(CPUState *cpu, uintptr_t pc)
|
2021-01-17 19:48:11 +03:00
|
|
|
{
|
|
|
|
g_assert_not_reached();
|
|
|
|
}
|