aboutsummaryrefslogtreecommitdiff
path: root/target/i386/hax-cpus.h
diff options
context:
space:
mode:
authorClaudio Fontana <cfontana@suse.de>2020-08-11 18:47:21 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-10-05 16:41:22 +0200
commitb2d61ea448b3abe9d002da32cf3fd1b157e33c4f (patch)
tree05d99c5d3e4a7fd95383b728f95fb06d47c01bf5 /target/i386/hax-cpus.h
parent77c050b5ec6c0759a237b6e9d3e2613f66dbb54f (diff)
hax: remove hax specific functions from global includes
Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/hax-cpus.h')
-rw-r--r--target/i386/hax-cpus.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/i386/hax-cpus.h b/target/i386/hax-cpus.h
index a64417fe2d..ee8ab7a631 100644
--- a/target/i386/hax-cpus.h
+++ b/target/i386/hax-cpus.h
@@ -14,4 +14,20 @@
extern const CpusAccel hax_cpus;
+#include "hax-interface.h"
+#include "hax-i386.h"
+
+int hax_init_vcpu(CPUState *cpu);
+int hax_smp_cpu_exec(CPUState *cpu);
+int hax_populate_ram(uint64_t va, uint64_t size);
+
+void hax_cpu_synchronize_state(CPUState *cpu);
+void hax_cpu_synchronize_post_reset(CPUState *cpu);
+void hax_cpu_synchronize_post_init(CPUState *cpu);
+void hax_cpu_synchronize_pre_loadvm(CPUState *cpu);
+
+int hax_vcpu_destroy(CPUState *cpu);
+void hax_raise_event(CPUState *cpu);
+void hax_reset_vcpu_state(void *opaque);
+
#endif /* HAX_CPUS_H */