mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-25 04:30:02 +00:00
650d103d3e
In my "build everything" tree, changing hw/hw.h triggers a recompile of some 2600 out of 6600 objects (not counting tests and objects that don't depend on qemu/osdep.h). The previous commits have left only the declaration of hw_error() in hw/hw.h. This permits dropping most of its inclusions. Touching it now recompiles less than 200 objects. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20190812052359.30071-19-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
55 lines
1.2 KiB
C
55 lines
1.2 KiB
C
/*
|
|
* QEMU HAXM support
|
|
*
|
|
* Copyright IBM, Corp. 2008
|
|
*
|
|
* Authors:
|
|
* Anthony Liguori <aliguori@us.ibm.com>
|
|
*
|
|
* Copyright (c) 2011 Intel Corporation
|
|
* Written by:
|
|
* Jiang Yunhong<yunhong.jiang@intel.com>
|
|
* Xin Xiaohui<xiaohui.xin@intel.com>
|
|
* Zhang Xiantao<xiantao.zhang@intel.com>
|
|
*
|
|
* Copyright 2016 Google, Inc.
|
|
*
|
|
* 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 QEMU_HAX_H
|
|
#define QEMU_HAX_H
|
|
|
|
|
|
int hax_sync_vcpus(void);
|
|
int hax_init_vcpu(CPUState *cpu);
|
|
int hax_smp_cpu_exec(CPUState *cpu);
|
|
int hax_populate_ram(uint64_t va, uint64_t size);
|
|
|
|
void hax_cpu_synchronize_state(CPUState *cpu);
|
|
void hax_cpu_synchronize_post_reset(CPUState *cpu);
|
|
void hax_cpu_synchronize_post_init(CPUState *cpu);
|
|
void hax_cpu_synchronize_pre_loadvm(CPUState *cpu);
|
|
|
|
#ifdef CONFIG_HAX
|
|
|
|
int hax_enabled(void);
|
|
|
|
#include "qemu/bitops.h"
|
|
#include "exec/memory.h"
|
|
int hax_vcpu_destroy(CPUState *cpu);
|
|
void hax_raise_event(CPUState *cpu);
|
|
void hax_reset_vcpu_state(void *opaque);
|
|
#include "target/i386/hax-interface.h"
|
|
#include "target/i386/hax-i386.h"
|
|
|
|
#else /* CONFIG_HAX */
|
|
|
|
#define hax_enabled() (0)
|
|
|
|
#endif /* CONFIG_HAX */
|
|
|
|
#endif /* QEMU_HAX_H */
|