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