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

user-exec-stub.c (496B)


      1#include "qemu/osdep.h"
      2#include "hw/core/cpu.h"
      3#include "sysemu/replay.h"
      4
      5bool enable_cpu_pm = false;
      6
      7void cpu_resume(CPUState *cpu)
      8{
      9}
     10
     11void cpu_remove_sync(CPUState *cpu)
     12{
     13}
     14
     15void qemu_init_vcpu(CPUState *cpu)
     16{
     17}
     18
     19/* User mode emulation does not support record/replay yet.  */
     20
     21bool replay_exception(void)
     22{
     23    return true;
     24}
     25
     26bool replay_has_exception(void)
     27{
     28    return false;
     29}
     30
     31bool replay_interrupt(void)
     32{
     33    return true;
     34}
     35
     36bool replay_has_interrupt(void)
     37{
     38    return false;
     39}