2017-07-03 18:12:17 +08: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 10:57:43 +08:00
|
|
|
#include "exec/tb-flush.h"
|
2017-07-03 18:12:17 +08:00
|
|
|
#include "exec/exec-all.h"
|
|
|
|
|
|
|
|
void tb_flush(CPUState *cpu)
|
|
|
|
{
|
|
|
|
}
|
2017-11-22 16:41:57 +08:00
|
|
|
|
2023-06-21 21:56:22 +08:00
|
|
|
void tlb_set_dirty(CPUState *cpu, vaddr vaddr)
|
2017-11-22 16:41:57 +08:00
|
|
|
{
|
|
|
|
}
|
2020-06-18 20:33:42 +08:00
|
|
|
|
2022-08-16 04:13:05 +08:00
|
|
|
void tcg_flush_jmp_cache(CPUState *cpu)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2023-06-21 21:56:29 +08:00
|
|
|
int probe_access_flags(CPUArchState *env, vaddr addr, int size,
|
2022-05-21 13:12:08 +08:00
|
|
|
MMUAccessType access_type, int mmu_idx,
|
|
|
|
bool nonfault, void **phost, uintptr_t retaddr)
|
|
|
|
{
|
|
|
|
g_assert_not_reached();
|
|
|
|
}
|
|
|
|
|
2023-06-21 21:56:29 +08:00
|
|
|
void *probe_access(CPUArchState *env, vaddr addr, int size,
|
2020-06-18 20:33:42 +08:00
|
|
|
MMUAccessType access_type, int mmu_idx, uintptr_t retaddr)
|
|
|
|
{
|
|
|
|
/* Handled by hardware accelerator. */
|
|
|
|
g_assert_not_reached();
|
|
|
|
}
|
2021-01-18 00:48:11 +08:00
|
|
|
|
2022-04-20 21:26:02 +08:00
|
|
|
G_NORETURN void cpu_loop_exit(CPUState *cpu)
|
2021-01-18 00:48:11 +08:00
|
|
|
{
|
|
|
|
g_assert_not_reached();
|
|
|
|
}
|
|
|
|
|
2022-04-20 21:26:02 +08:00
|
|
|
G_NORETURN void cpu_loop_exit_restore(CPUState *cpu, uintptr_t pc)
|
2021-01-18 00:48:11 +08:00
|
|
|
{
|
|
|
|
g_assert_not_reached();
|
|
|
|
}
|