aboutsummaryrefslogtreecommitdiff
path: root/target/i386/hvf/hvf-i386.h
blob: 95b47c1c2e71944a9a18cac3f5e2f8ef909c9711 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * QEMU Hypervisor.framework (HVF) support
 *
 * Copyright 2017 Google Inc
 *
 * Adapted from target-i386/hax-i386.h:
 * Copyright (c) 2011 Intel Corporation
 *  Written by:
 *  Jiang Yunhong<yunhong.jiang@intel.com>
 *
 * This work is licensed under the terms of the GNU GPL, version 2 or later.
 * See the COPYING file in the top-level directory.
 *
 */

#ifndef HVF_I386_H
#define HVF_I386_H

#include "qemu/accel.h"
#include "sysemu/hvf.h"
#include "sysemu/hvf_int.h"
#include "cpu.h"
#include "x86.h"

void hvf_handle_io(CPUArchState *, uint16_t, void *, int, int, int);

/* Host specific functions */
int hvf_inject_interrupt(CPUArchState *env, int vector);

#endif