cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

tcg-stub.c (812B)


      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/exec-all.h"
     15
     16void tb_flush(CPUState *cpu)
     17{
     18}
     19
     20void tlb_set_dirty(CPUState *cpu, target_ulong vaddr)
     21{
     22}
     23
     24void *probe_access(CPUArchState *env, target_ulong addr, int size,
     25                   MMUAccessType access_type, int mmu_idx, uintptr_t retaddr)
     26{
     27     /* Handled by hardware accelerator. */
     28     g_assert_not_reached();
     29}
     30
     31void QEMU_NORETURN cpu_loop_exit(CPUState *cpu)
     32{
     33    g_assert_not_reached();
     34}
     35
     36void QEMU_NORETURN cpu_loop_exit_restore(CPUState *cpu, uintptr_t pc)
     37{
     38    g_assert_not_reached();
     39}