xref: /openbmc/qemu/accel/stubs/tcg-stub.c (revision 64ed6f92)
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 "tcg/tcg.h"
16 #include "exec/exec-all.h"
17 
18 void tb_flush(CPUState *cpu)
19 {
20 }
21 
22 void tlb_set_dirty(CPUState *cpu, target_ulong vaddr)
23 {
24 }
25 
26 void *probe_access(CPUArchState *env, target_ulong addr, int size,
27                    MMUAccessType access_type, int mmu_idx, uintptr_t retaddr)
28 {
29      /* Handled by hardware accelerator. */
30      g_assert_not_reached();
31 }
32