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 "exec/tb-flush.h" 15 #include "exec/exec-all.h" 16 17 void tb_flush(CPUState *cpu) 18 { 19 } 20 21 void tlb_set_dirty(CPUState *cpu, vaddr vaddr) 22 { 23 } 24 25 void tcg_flush_jmp_cache(CPUState *cpu) 26 { 27 } 28 29 int probe_access_flags(CPUArchState *env, vaddr addr, int size, 30 MMUAccessType access_type, int mmu_idx, 31 bool nonfault, void **phost, uintptr_t retaddr) 32 { 33 g_assert_not_reached(); 34 } 35 36 void *probe_access(CPUArchState *env, vaddr addr, int size, 37 MMUAccessType access_type, int mmu_idx, uintptr_t retaddr) 38 { 39 /* Handled by hardware accelerator. */ 40 g_assert_not_reached(); 41 } 42 43 G_NORETURN void cpu_loop_exit(CPUState *cpu) 44 { 45 g_assert_not_reached(); 46 } 47 48 G_NORETURN void cpu_loop_exit_restore(CPUState *cpu, uintptr_t pc) 49 { 50 g_assert_not_reached(); 51 } 52