Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / target / i386 / hvf / hvf-i386.h
blobe99c02cd4bfe101a95ebc11e8f0bf5d337ef2899
1 /*
2 * QEMU Hypervisor.framework (HVF) support
4 * Copyright 2017 Google Inc
6 * Adapted from target-i386/hax-i386.h:
7 * Copyright (c) 2011 Intel Corporation
8 * Written by:
9 * Jiang Yunhong<yunhong.jiang@intel.com>
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.
16 #ifndef HVF_I386_H
17 #define HVF_I386_H
19 uint32_t hvf_get_supported_cpuid(uint32_t func, uint32_t idx, int reg);
21 void hvf_handle_io(CPUArchState *, uint16_t, void *, int, int, int);
23 /* Host specific functions */
24 int hvf_inject_interrupt(CPUArchState *env, int vector);
26 #endif