master
h 25 lines 827 Bytes
Raw
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 #ifndef SYSTEM_WHPX_ALL_H
3 #define SYSTEM_WHPX_ALL_H
4
5 #include "system/whpx-accel-ops.h"
6
7 /* Called by whpx-common */
8 int whpx_vcpu_run(CPUState *cpu);
9 void whpx_get_registers(CPUState *cpu, WHPXStateLevel level);
10 void whpx_set_registers(CPUState *cpu, WHPXStateLevel level);
11 int whpx_accel_init(AccelState *as, MachineState *ms);
12 void whpx_cpu_instance_init(CPUState *cs);
13 HRESULT whpx_set_exception_exit_bitmap(UINT64 exceptions);
14 void whpx_apply_breakpoints(
15 struct whpx_breakpoint_collection *breakpoints,
16 CPUState *cpu,
17 bool resuming);
18 void whpx_translate_cpu_breakpoints(
19 struct whpx_breakpoints *breakpoints,
20 CPUState *cpu,
21 int cpu_breakpoint_count);
22 void whpx_arch_destroy_vcpu(CPUState *cpu);
23 void whpx_arch_accel_class_init(ObjectClass *oc);
24
25 #endif