xref: /openbmc/qemu/target/i386/hvf/hvf-i386.h (revision 2f95279a)
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 uint32_t hvf_get_supported_cpuid(uint32_t func, uint32_t idx, int reg);
20 
21 void hvf_handle_io(CPUArchState *, uint16_t, void *, int, int, int);
22 
23 /* Host specific functions */
24 int hvf_inject_interrupt(CPUArchState *env, int vector);
25 
26 #endif
27