
This requires making raise_exception non-static. That function needs to be renamed to avoid clashing with a function in TCG. Mostly code movement. No functional change. Signed-off-by: Wei Liu <liuwe@linux.microsoft.com> Link: https://lore.kernel.org/r/1740126987-8483-12-git-send-email-liuwe@linux.microsoft.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
29 lines
719 B
C
29 lines
719 B
C
/*
|
|
* 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
|
|
|
|
uint32_t hvf_get_supported_cpuid(uint32_t func, uint32_t idx, int reg);
|
|
|
|
void hvf_handle_io(CPUState *, uint16_t, void *, int, int, int);
|
|
void hvf_simulate_rdmsr(CPUX86State *env);
|
|
void hvf_simulate_wrmsr(CPUX86State *env);
|
|
|
|
/* Host specific functions */
|
|
int hvf_inject_interrupt(CPUArchState *env, int vector);
|
|
|
|
#endif
|