qemu

FORK: QEMU emulator
git clone https://git.neptards.moe/neptards/qemu.git
Log | Files | Refs | Submodules | LICENSE

hax-accel-ops.h (831B)


      1 /*
      2  * Accelerator CPUS Interface
      3  *
      4  * Copyright 2020 SUSE LLC
      5  *
      6  * This work is licensed under the terms of the GNU GPL, version 2 or later.
      7  * See the COPYING file in the top-level directory.
      8  */
      9 
     10 #ifndef TARGET_I386_HAX_ACCEL_OPS_H
     11 #define TARGET_I386_HAX_ACCEL_OPS_H
     12 
     13 #include "sysemu/cpus.h"
     14 
     15 #include "hax-interface.h"
     16 #include "hax-i386.h"
     17 
     18 int hax_init_vcpu(CPUState *cpu);
     19 int hax_smp_cpu_exec(CPUState *cpu);
     20 int hax_populate_ram(uint64_t va, uint64_t size);
     21 
     22 void hax_cpu_synchronize_state(CPUState *cpu);
     23 void hax_cpu_synchronize_post_reset(CPUState *cpu);
     24 void hax_cpu_synchronize_post_init(CPUState *cpu);
     25 void hax_cpu_synchronize_pre_loadvm(CPUState *cpu);
     26 
     27 int hax_vcpu_destroy(CPUState *cpu);
     28 void hax_raise_event(CPUState *cpu);
     29 void hax_reset_vcpu_state(void *opaque);
     30 
     31 #endif /* TARGET_I386_HAX_ACCEL_OPS_H */