]> git.proxmox.com Git - mirror_qemu.git/blob - accel/stubs/tcg-stub.c
2304606f8e003aec34d372545d55d893c84765b0
[mirror_qemu.git] / accel / stubs / tcg-stub.c
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"
14 #include "cpu.h"
15 #include "exec/exec-all.h"
16
17 void tb_flush(CPUState *cpu)
18 {
19 }
20
21 void tlb_set_dirty(CPUState *cpu, target_ulong vaddr)
22 {
23 }
24
25 void *probe_access(CPUArchState *env, target_ulong addr, int size,
26 MMUAccessType access_type, int mmu_idx, uintptr_t retaddr)
27 {
28 /* Handled by hardware accelerator. */
29 g_assert_not_reached();
30 }
31
32 void QEMU_NORETURN cpu_loop_exit(CPUState *cpu)
33 {
34 g_assert_not_reached();
35 }
36
37 void QEMU_NORETURN cpu_loop_exit_restore(CPUState *cpu, uintptr_t pc)
38 {
39 g_assert_not_reached();
40 }