xref: /qemu/target/i386/hvf/hvf-i386.h (revision 727385c4)
1 /*
2  * QEMU Hypervisor.framework (HVF) support
3  *
4  * Copyright 2017 Google Inc
5  *
6  * Adapted from target-i386/hax-i386.h:
7  * Copyright (c) 2011 Intel Corporation
8  *  Written by:
9  *  Jiang Yunhong<yunhong.jiang@intel.com>
10  *
11  * This work is licensed under the terms of the GNU GPL, version 2 or later.
12  * See the COPYING file in the top-level directory.
13  *
14  */
15 
16 #ifndef HVF_I386_H
17 #define HVF_I386_H
18 
19 #include "qemu/accel.h"
20 #include "sysemu/hvf.h"
21 #include "sysemu/hvf_int.h"
22 #include "cpu.h"
23 #include "x86.h"
24 
25 void hvf_handle_io(CPUArchState *, uint16_t, void *, int, int, int);
26 
27 #ifdef NEED_CPU_H
28 /* Functions exported to host specific mode */
29 
30 /* Host specific functions */
31 int hvf_inject_interrupt(CPUArchState *env, int vector);
32 #endif
33 
34 #endif
35