]> git.proxmox.com Git - mirror_qemu.git/blame - accel/stubs/tcg-stub.c
accel/tcg: Factor tcg_cpu_reset_hold() out
[mirror_qemu.git] / accel / stubs / tcg-stub.c
CommitLineData
a574cf9b
YZ
1/*
2 * QEMU TCG accelerator stub
3 *
4 * Copyright Red Hat, Inc. 2013
5 *
6 * Author: Paolo Bonzini <pbonzini@redhat.com>
7 *
8 * This work is licensed under the terms of the GNU GPL, version 2 or later.
9 * See the COPYING file in the top-level directory.
10 *
11 */
12
13#include "qemu/osdep.h"
548c9609 14#include "exec/tb-flush.h"
a574cf9b
YZ
15#include "exec/exec-all.h"
16
17void tb_flush(CPUState *cpu)
18{
19}
8f2c4cbc 20
732d5487 21void tlb_set_dirty(CPUState *cpu, vaddr vaddr)
8f2c4cbc
JQ
22{
23}
bb321b29 24
4f8f4127 25int probe_access_flags(CPUArchState *env, vaddr addr, int size,
b89350e8
RH
26 MMUAccessType access_type, int mmu_idx,
27 bool nonfault, void **phost, uintptr_t retaddr)
28{
29 g_assert_not_reached();
30}
31
4f8f4127 32void *probe_access(CPUArchState *env, vaddr addr, int size,
bb321b29
PMD
33 MMUAccessType access_type, int mmu_idx, uintptr_t retaddr)
34{
35 /* Handled by hardware accelerator. */
36 g_assert_not_reached();
37}
ee64036a 38
8905770b 39G_NORETURN void cpu_loop_exit(CPUState *cpu)
ee64036a
PMD
40{
41 g_assert_not_reached();
42}
43
8905770b 44G_NORETURN void cpu_loop_exit_restore(CPUState *cpu, uintptr_t pc)
ee64036a
PMD
45{
46 g_assert_not_reached();
47}