Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
qemu
提交
33c11879
Q
qemu
项目概览
openeuler
/
qemu
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Q
qemu
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
33c11879
编写于
3月 15, 2016
作者:
P
Paolo Bonzini
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
qemu-common: push cpu.h inclusion out of qemu-common.h
Signed-off-by:
N
Paolo Bonzini
<
pbonzini@redhat.com
>
上级
35c5a52d
变更
82
隐藏空白更改
内联
并排
Showing
82 changed file
with
133 addition
and
36 deletion
+133
-36
arch_init.c
arch_init.c
+2
-0
cpus.c
cpus.c
+2
-1
exec.c
exec.c
+1
-1
gdbstub.c
gdbstub.c
+1
-1
hw/arm/nseries.c
hw/arm/nseries.c
+1
-0
hw/arm/pxa2xx_gpio.c
hw/arm/pxa2xx_gpio.c
+1
-0
hw/core/nmi.c
hw/core/nmi.c
+5
-0
hw/display/cg3.c
hw/display/cg3.c
+1
-0
hw/i386/kvm/apic.c
hw/i386/kvm/apic.c
+2
-0
hw/i386/kvm/clock.c
hw/i386/kvm/clock.c
+1
-0
hw/i386/kvmvapic.c
hw/i386/kvmvapic.c
+2
-0
hw/intc/apic.c
hw/intc/apic.c
+2
-0
hw/intc/apic_common.c
hw/intc/apic_common.c
+2
-0
hw/intc/arm_gic_kvm.c
hw/intc/arm_gic_kvm.c
+2
-0
hw/intc/armv7m_nvic.c
hw/intc/armv7m_nvic.c
+1
-0
hw/intc/openpic_kvm.c
hw/intc/openpic_kvm.c
+2
-0
hw/intc/s390_flic_kvm.c
hw/intc/s390_flic_kvm.c
+2
-0
hw/misc/mips_cpc.c
hw/misc/mips_cpc.c
+1
-0
hw/misc/mips_itu.c
hw/misc/mips_itu.c
+1
-0
hw/ppc/ppc4xx_devs.c
hw/ppc/ppc4xx_devs.c
+1
-0
hw/ppc/prep.c
hw/ppc/prep.c
+1
-0
hw/ppc/virtex_ml507.c
hw/ppc/virtex_ml507.c
+1
-0
hw/xtensa/pic_cpu.c
hw/xtensa/pic_cpu.c
+1
-0
include/disas/disas.h
include/disas/disas.h
+2
-0
include/exec/gdbstub.h
include/exec/gdbstub.h
+2
-0
include/exec/hwaddr.h
include/exec/hwaddr.h
+2
-0
include/hw/arm/digic.h
include/hw/arm/digic.h
+1
-0
include/hw/arm/fsl-imx6.h
include/hw/arm/fsl-imx6.h
+1
-0
include/hw/arm/virt-acpi-build.h
include/hw/arm/virt-acpi-build.h
+1
-0
include/hw/arm/virt.h
include/hw/arm/virt.h
+1
-0
include/hw/hw.h
include/hw/hw.h
+0
-1
include/hw/sd/sd.h
include/hw/sd/sd.h
+2
-0
include/hw/xen/xen.h
include/hw/xen/xen.h
+4
-3
include/qemu-common.h
include/qemu-common.h
+0
-5
include/sysemu/kvm.h
include/sysemu/kvm.h
+1
-0
ioport.c
ioport.c
+2
-0
memory.c
memory.c
+2
-0
migration/ram.c
migration/ram.c
+2
-0
migration/savevm.c
migration/savevm.c
+1
-0
monitor.c
monitor.c
+2
-0
qtest.c
qtest.c
+2
-0
scripts/tracetool/format/tcg_helper_c.py
scripts/tracetool/format/tcg_helper_c.py
+1
-0
target-alpha/gdbstub.c
target-alpha/gdbstub.c
+1
-0
target-alpha/machine.c
target-alpha/machine.c
+2
-0
target-arm/gdbstub.c
target-arm/gdbstub.c
+1
-0
target-arm/gdbstub64.c
target-arm/gdbstub64.c
+1
-0
target-arm/kvm-stub.c
target-arm/kvm-stub.c
+1
-0
target-arm/kvm32.c
target-arm/kvm32.c
+1
-1
target-arm/kvm64.c
target-arm/kvm64.c
+1
-1
target-arm/machine.c
target-arm/machine.c
+2
-0
target-cris/gdbstub.c
target-cris/gdbstub.c
+1
-0
target-cris/machine.c
target-cris/machine.c
+2
-0
target-i386/gdbstub.c
target-i386/gdbstub.c
+1
-0
target-i386/kvm-stub.c
target-i386/kvm-stub.c
+1
-0
target-i386/kvm.c
target-i386/kvm.c
+1
-1
target-i386/machine.c
target-i386/machine.c
+2
-0
target-lm32/gdbstub.c
target-lm32/gdbstub.c
+1
-0
target-lm32/machine.c
target-lm32/machine.c
+2
-0
target-m68k/gdbstub.c
target-m68k/gdbstub.c
+1
-0
target-microblaze/gdbstub.c
target-microblaze/gdbstub.c
+1
-0
target-mips/cpu.h
target-mips/cpu.h
+2
-16
target-mips/gdbstub.c
target-mips/gdbstub.c
+1
-0
target-mips/helper.c
target-mips/helper.c
+17
-0
target-mips/kvm.c
target-mips/kvm.c
+1
-1
target-mips/machine.c
target-mips/machine.c
+2
-0
target-moxie/machine.c
target-moxie/machine.c
+2
-0
target-openrisc/gdbstub.c
target-openrisc/gdbstub.c
+1
-0
target-openrisc/machine.c
target-openrisc/machine.c
+2
-0
target-ppc/gdbstub.c
target-ppc/gdbstub.c
+1
-0
target-ppc/kvm-stub.c
target-ppc/kvm-stub.c
+1
-0
target-ppc/kvm.c
target-ppc/kvm.c
+1
-1
target-ppc/machine.c
target-ppc/machine.c
+2
-0
target-s390x/gdbstub.c
target-s390x/gdbstub.c
+1
-0
target-s390x/kvm.c
target-s390x/kvm.c
+1
-1
target-sh4/gdbstub.c
target-sh4/gdbstub.c
+1
-0
target-sparc/gdbstub.c
target-sparc/gdbstub.c
+1
-0
target-sparc/machine.c
target-sparc/machine.c
+2
-0
target-xtensa/gdbstub.c
target-xtensa/gdbstub.c
+1
-0
tcg/optimize.c
tcg/optimize.c
+1
-2
tcg/tcg-op.c
tcg/tcg-op.c
+2
-0
tcg/tcg.h
tcg/tcg.h
+1
-0
xen-hvm.c
xen-hvm.c
+1
-0
未找到文件。
arch_init.c
浏览文件 @
33c11879
...
...
@@ -22,6 +22,8 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "sysemu/sysemu.h"
#include "sysemu/arch_init.h"
#include "hw/pci/pci.h"
...
...
cpus.c
浏览文件 @
33c11879
...
...
@@ -24,7 +24,8 @@
/* Needed early for CONFIG_BSD etc. */
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "monitor/monitor.h"
#include "qapi/qmp/qerror.h"
#include "qemu/error-report.h"
...
...
exec.c
浏览文件 @
33c11879
...
...
@@ -28,10 +28,10 @@
#include "hw/qdev-core.h"
#if !defined(CONFIG_USER_ONLY)
#include "hw/boards.h"
#include "hw/xen/xen.h"
#endif
#include "sysemu/kvm.h"
#include "sysemu/sysemu.h"
#include "hw/xen/xen.h"
#include "qemu/timer.h"
#include "qemu/config-file.h"
#include "qemu/error-report.h"
...
...
gdbstub.c
浏览文件 @
33c11879
...
...
@@ -19,7 +19,7 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qemu/cutils.h"
#include "cpu.h"
#ifdef CONFIG_USER_ONLY
#include "qemu.h"
#else
...
...
hw/arm/nseries.c
浏览文件 @
33c11879
...
...
@@ -20,6 +20,7 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "cpu.h"
#include "qemu/cutils.h"
#include "qemu/bswap.h"
#include "sysemu/sysemu.h"
...
...
hw/arm/pxa2xx_gpio.c
浏览文件 @
33c11879
...
...
@@ -8,6 +8,7 @@
*/
#include "qemu/osdep.h"
#include "cpu.h"
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "hw/arm/pxa.h"
...
...
hw/core/nmi.c
浏览文件 @
33c11879
...
...
@@ -20,11 +20,16 @@
*/
#include "qemu/osdep.h"
#include "qom/cpu.h"
#include "hw/nmi.h"
#include "qapi/error.h"
#include "qapi/qmp/qerror.h"
#include "monitor/monitor.h"
#if defined(TARGET_I386)
#include "cpu.h"
#endif
struct
do_nmi_s
{
int
cpu_index
;
Error
*
err
;
...
...
hw/display/cg3.c
浏览文件 @
33c11879
...
...
@@ -26,6 +26,7 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qemu-common.h"
#include "cpu.h"
#include "qemu/error-report.h"
#include "ui/console.h"
#include "hw/sysbus.h"
...
...
hw/i386/kvm/apic.c
浏览文件 @
33c11879
...
...
@@ -10,6 +10,8 @@
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "hw/i386/apic_internal.h"
#include "hw/pci/msi.h"
#include "sysemu/kvm.h"
...
...
hw/i386/kvm/clock.c
浏览文件 @
33c11879
...
...
@@ -15,6 +15,7 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "qemu/host-utils.h"
#include "sysemu/sysemu.h"
#include "sysemu/kvm.h"
...
...
hw/i386/kvmvapic.c
浏览文件 @
33c11879
...
...
@@ -9,6 +9,8 @@
* top-level directory.
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "sysemu/sysemu.h"
#include "sysemu/cpus.h"
#include "sysemu/kvm.h"
...
...
hw/intc/apic.c
浏览文件 @
33c11879
...
...
@@ -17,6 +17,8 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "qemu/thread.h"
#include "hw/i386/apic_internal.h"
#include "hw/i386/apic.h"
...
...
hw/intc/apic_common.c
浏览文件 @
33c11879
...
...
@@ -19,6 +19,8 @@
*/
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qemu-common.h"
#include "cpu.h"
#include "hw/i386/apic.h"
#include "hw/i386/apic_internal.h"
#include "trace.h"
...
...
hw/intc/arm_gic_kvm.c
浏览文件 @
33c11879
...
...
@@ -21,6 +21,8 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qemu-common.h"
#include "cpu.h"
#include "hw/sysbus.h"
#include "migration/migration.h"
#include "sysemu/kvm.h"
...
...
hw/intc/armv7m_nvic.c
浏览文件 @
33c11879
...
...
@@ -13,6 +13,7 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qemu-common.h"
#include "cpu.h"
#include "hw/sysbus.h"
#include "qemu/timer.h"
#include "hw/arm/arm.h"
...
...
hw/intc/openpic_kvm.c
浏览文件 @
33c11879
...
...
@@ -24,6 +24,8 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qemu-common.h"
#include "cpu.h"
#include <sys/ioctl.h>
#include "exec/address-spaces.h"
#include "hw/hw.h"
...
...
hw/intc/s390_flic_kvm.c
浏览文件 @
33c11879
...
...
@@ -11,6 +11,8 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include <sys/ioctl.h>
#include "qemu/error-report.h"
#include "hw/sysbus.h"
...
...
hw/misc/mips_cpc.c
浏览文件 @
33c11879
...
...
@@ -19,6 +19,7 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "cpu.h"
#include "hw/sysbus.h"
#include "hw/misc/mips_cpc.h"
...
...
hw/misc/mips_itu.c
浏览文件 @
33c11879
...
...
@@ -19,6 +19,7 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "cpu.h"
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "sysemu/sysemu.h"
...
...
hw/ppc/ppc4xx_devs.c
浏览文件 @
33c11879
...
...
@@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "cpu.h"
#include "hw/hw.h"
#include "hw/ppc/ppc.h"
#include "hw/ppc/ppc4xx.h"
...
...
hw/ppc/prep.c
浏览文件 @
33c11879
...
...
@@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "cpu.h"
#include "hw/hw.h"
#include "hw/timer/m48t59.h"
#include "hw/i386/pc.h"
...
...
hw/ppc/virtex_ml507.c
浏览文件 @
33c11879
...
...
@@ -23,6 +23,7 @@
*/
#include "qemu/osdep.h"
#include "cpu.h"
#include "hw/sysbus.h"
#include "hw/hw.h"
#include "hw/char/serial.h"
...
...
hw/xtensa/pic_cpu.c
浏览文件 @
33c11879
...
...
@@ -26,6 +26,7 @@
*/
#include "qemu/osdep.h"
#include "cpu.h"
#include "hw/hw.h"
#include "qemu/log.h"
#include "qemu/timer.h"
...
...
include/disas/disas.h
浏览文件 @
33c11879
...
...
@@ -4,6 +4,8 @@
#include "qemu-common.h"
#ifdef NEED_CPU_H
#include "cpu.h"
/* Disassemble this for me please... (debugging). */
void
disas
(
FILE
*
out
,
void
*
code
,
unsigned
long
size
);
void
target_disas
(
FILE
*
out
,
CPUState
*
cpu
,
target_ulong
code
,
...
...
include/exec/gdbstub.h
浏览文件 @
33c11879
...
...
@@ -11,6 +11,8 @@
#define GDB_WATCHPOINT_ACCESS 4
#ifdef NEED_CPU_H
#include "cpu.h"
typedef
void
(
*
gdb_syscall_complete_cb
)(
CPUState
*
cpu
,
target_ulong
ret
,
target_ulong
err
);
...
...
include/exec/hwaddr.h
浏览文件 @
33c11879
...
...
@@ -3,6 +3,8 @@
#ifndef HWADDR_H
#define HWADDR_H
#include <inttypes.h>
#define HWADDR_BITS 64
/* hwaddr is the type of a physical address (its size can
be different from 'target_ulong'). */
...
...
include/hw/arm/digic.h
浏览文件 @
33c11879
...
...
@@ -18,6 +18,7 @@
#ifndef HW_ARM_DIGIC_H
#define HW_ARM_DIGIC_H
#include "cpu.h"
#include "hw/timer/digic-timer.h"
#include "hw/char/digic-uart.h"
...
...
include/hw/arm/fsl-imx6.h
浏览文件 @
33c11879
...
...
@@ -29,6 +29,7 @@
#include "hw/sd/sdhci.h"
#include "hw/ssi/imx_spi.h"
#include "exec/memory.h"
#include "cpu.h"
#define TYPE_FSL_IMX6 "fsl,imx6"
#define FSL_IMX6(obj) OBJECT_CHECK(FslIMX6State, (obj), TYPE_FSL_IMX6)
...
...
include/hw/arm/virt-acpi-build.h
浏览文件 @
33c11879
...
...
@@ -22,6 +22,7 @@
#include "qemu-common.h"
#include "hw/arm/virt.h"
#include "qemu/notify.h"
#define ACPI_GICC_ENABLED 1
...
...
include/hw/arm/virt.h
浏览文件 @
33c11879
...
...
@@ -31,6 +31,7 @@
#define QEMU_ARM_VIRT_H
#include "qemu-common.h"
#include "exec/hwaddr.h"
#define NUM_GICV2M_SPIS 64
#define NUM_VIRTIO_TRANSPORTS 32
...
...
include/hw/hw.h
浏览文件 @
33c11879
...
...
@@ -2,7 +2,6 @@
#ifndef QEMU_HW_H
#define QEMU_HW_H
#ifdef CONFIG_USER_ONLY
#error Cannot include hw/hw.h from user emulation
#endif
...
...
include/hw/sd/sd.h
浏览文件 @
33c11879
...
...
@@ -29,6 +29,8 @@
#ifndef __hw_sd_h
#define __hw_sd_h 1
#include "hw/qdev.h"
#define OUT_OF_RANGE (1 << 31)
#define ADDRESS_ERROR (1 << 30)
#define BLOCK_LEN_ERROR (1 << 29)
...
...
include/hw/xen/xen.h
浏览文件 @
33c11879
...
...
@@ -7,8 +7,10 @@
* /usr/include/xen, so it can be included unconditionally.
*/
#include "hw/irq.h"
#include "qemu-common.h"
#include "qemu/typedefs.h"
#include "exec/cpu-common.h"
#include "hw/irq.h"
/* xen-machine.c */
enum
xen_mode
{
...
...
@@ -37,12 +39,11 @@ qemu_irq *xen_interrupt_controller_init(void);
void
xenstore_store_pv_console_info
(
int
i
,
struct
CharDriverState
*
chr
);
#if defined(NEED_CPU_H) && !defined(CONFIG_USER_ONLY)
void
xen_hvm_init
(
PCMachineState
*
pcms
,
MemoryRegion
**
ram_memory
);
void
xen_ram_alloc
(
ram_addr_t
ram_addr
,
ram_addr_t
size
,
struct
MemoryRegion
*
mr
,
Error
**
errp
);
void
xen_modified_memory
(
ram_addr_t
start
,
ram_addr_t
length
);
#endif
void
xen_register_framebuffer
(
struct
MemoryRegion
*
mr
);
...
...
include/qemu-common.h
浏览文件 @
33c11879
...
...
@@ -22,11 +22,6 @@
#include "qemu/option.h"
/* FIXME: Remove NEED_CPU_H. */
#ifdef NEED_CPU_H
#include "cpu.h"
#endif
/* !defined(NEED_CPU_H) */
/* main function, renamed */
#if defined(CONFIG_COCOA)
int
qemu_main
(
int
argc
,
char
**
argv
,
char
**
envp
);
...
...
include/sysemu/kvm.h
浏览文件 @
33c11879
...
...
@@ -218,6 +218,7 @@ int kvm_init_vcpu(CPUState *cpu);
int
kvm_cpu_exec
(
CPUState
*
cpu
);
#ifdef NEED_CPU_H
#include "cpu.h"
void
kvm_setup_guest_memory
(
void
*
start
,
size_t
size
);
void
kvm_flush_coalesced_mmio_buffer
(
void
);
...
...
ioport.c
浏览文件 @
33c11879
...
...
@@ -26,6 +26,8 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "exec/ioport.h"
#include "trace.h"
#include "exec/memory.h"
...
...
memory.c
浏览文件 @
33c11879
...
...
@@ -15,6 +15,8 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qemu-common.h"
#include "cpu.h"
#include "exec/memory.h"
#include "exec/address-spaces.h"
#include "exec/ioport.h"
...
...
migration/ram.c
浏览文件 @
33c11879
...
...
@@ -26,6 +26,8 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include <zlib.h>
#include "qapi-event.h"
#include "qemu/cutils.h"
...
...
migration/savevm.c
浏览文件 @
33c11879
...
...
@@ -27,6 +27,7 @@
*/
#include "qemu/osdep.h"
#include "cpu.h"
#include "hw/boards.h"
#include "hw/hw.h"
#include "hw/qdev.h"
...
...
monitor.c
浏览文件 @
33c11879
...
...
@@ -23,6 +23,8 @@
*/
#include "qemu/osdep.h"
#include <dirent.h>
#include "qemu-common.h"
#include "cpu.h"
#include "hw/hw.h"
#include "monitor/qdev.h"
#include "hw/usb.h"
...
...
qtest.c
浏览文件 @
33c11879
...
...
@@ -13,6 +13,8 @@
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "qemu-common.h"
#include "cpu.h"
#include "sysemu/qtest.h"
#include "hw/qdev.h"
#include "sysemu/char.h"
...
...
scripts/tracetool/format/tcg_helper_c.py
浏览文件 @
33c11879
...
...
@@ -48,6 +48,7 @@ def generate(events, backend):
''
,
'#include "qemu/osdep.h"'
,
'#include "qemu-common.h"'
,
'#include "cpu.h"'
,
'#include "trace.h"'
,
'#include "exec/helper-proto.h"'
,
''
,
...
...
target-alpha/gdbstub.c
浏览文件 @
33c11879
...
...
@@ -19,6 +19,7 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "exec/gdbstub.h"
int
alpha_cpu_gdb_read_register
(
CPUState
*
cs
,
uint8_t
*
mem_buf
,
int
n
)
...
...
target-alpha/machine.c
浏览文件 @
33c11879
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "hw/hw.h"
#include "hw/boards.h"
#include "migration/cpu.h"
...
...
target-arm/gdbstub.c
浏览文件 @
33c11879
...
...
@@ -19,6 +19,7 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "exec/gdbstub.h"
/* Old gdb always expect FPA registers. Newer (xml-aware) gdb only expect
...
...
target-arm/gdbstub64.c
浏览文件 @
33c11879
...
...
@@ -18,6 +18,7 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "exec/gdbstub.h"
int
aarch64_cpu_gdb_read_register
(
CPUState
*
cs
,
uint8_t
*
mem_buf
,
int
n
)
...
...
target-arm/kvm-stub.c
浏览文件 @
33c11879
...
...
@@ -11,6 +11,7 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "kvm_arm.h"
bool
write_kvmstate_to_list
(
ARMCPU
*
cpu
)
...
...
target-arm/kvm32.c
浏览文件 @
33c11879
...
...
@@ -15,11 +15,11 @@
#include <linux/kvm.h>
#include "qemu-common.h"
#include "cpu.h"
#include "qemu/timer.h"
#include "sysemu/sysemu.h"
#include "sysemu/kvm.h"
#include "kvm_arm.h"
#include "cpu.h"
#include "internals.h"
#include "hw/arm/arm.h"
...
...
target-arm/kvm64.c
浏览文件 @
33c11879
...
...
@@ -18,6 +18,7 @@
#include <linux/kvm.h>
#include "qemu-common.h"
#include "cpu.h"
#include "qemu/timer.h"
#include "qemu/error-report.h"
#include "qemu/host-utils.h"
...
...
@@ -25,7 +26,6 @@
#include "sysemu/sysemu.h"
#include "sysemu/kvm.h"
#include "kvm_arm.h"
#include "cpu.h"
#include "internals.h"
#include "hw/arm/arm.h"
...
...
target-arm/machine.c
浏览文件 @
33c11879
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "hw/hw.h"
#include "hw/boards.h"
#include "qemu/error-report.h"
...
...
target-cris/gdbstub.c
浏览文件 @
33c11879
...
...
@@ -19,6 +19,7 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "exec/gdbstub.h"
int
crisv10_cpu_gdb_read_register
(
CPUState
*
cs
,
uint8_t
*
mem_buf
,
int
n
)
...
...
target-cris/machine.c
浏览文件 @
33c11879
...
...
@@ -19,6 +19,8 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "hw/hw.h"
#include "migration/cpu.h"
...
...
target-i386/gdbstub.c
浏览文件 @
33c11879
...
...
@@ -19,6 +19,7 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "exec/gdbstub.h"
#ifdef TARGET_X86_64
...
...
target-i386/kvm-stub.c
浏览文件 @
33c11879
...
...
@@ -11,6 +11,7 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "kvm_i386.h"
bool
kvm_allows_irq0_override
(
void
)
...
...
target-i386/kvm.c
浏览文件 @
33c11879
...
...
@@ -22,10 +22,10 @@
#include <linux/kvm_para.h>
#include "qemu-common.h"
#include "cpu.h"
#include "sysemu/sysemu.h"
#include "sysemu/kvm_int.h"
#include "kvm_i386.h"
#include "cpu.h"
#include "hyperv.h"
#include "exec/gdbstub.h"
...
...
target-i386/machine.c
浏览文件 @
33c11879
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "hw/hw.h"
#include "hw/boards.h"
#include "hw/i386/pc.h"
...
...
target-lm32/gdbstub.c
浏览文件 @
33c11879
...
...
@@ -19,6 +19,7 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "exec/gdbstub.h"
#include "hw/lm32/lm32_pic.h"
...
...
target-lm32/machine.c
浏览文件 @
33c11879
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "hw/hw.h"
#include "hw/boards.h"
#include "migration/cpu.h"
...
...
target-m68k/gdbstub.c
浏览文件 @
33c11879
...
...
@@ -19,6 +19,7 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "exec/gdbstub.h"
int
m68k_cpu_gdb_read_register
(
CPUState
*
cs
,
uint8_t
*
mem_buf
,
int
n
)
...
...
target-microblaze/gdbstub.c
浏览文件 @
33c11879
...
...
@@ -19,6 +19,7 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "exec/gdbstub.h"
int
mb_cpu_gdb_read_register
(
CPUState
*
cs
,
uint8_t
*
mem_buf
,
int
n
)
...
...
target-mips/cpu.h
浏览文件 @
33c11879
...
...
@@ -1145,22 +1145,8 @@ static inline void cpu_mips_store_cause(CPUMIPSState *env, target_ulong val)
}
#endif
static
inline
void
QEMU_NORETURN
do_raise_exception_err
(
CPUMIPSState
*
env
,
uint32_t
exception
,
int
error_code
,
uintptr_t
pc
)
{
CPUState
*
cs
=
CPU
(
mips_env_get_cpu
(
env
));
if
(
exception
<
EXCP_SC
)
{
qemu_log_mask
(
CPU_LOG_INT
,
"%s: %d %d
\n
"
,
__func__
,
exception
,
error_code
);
}
cs
->
exception_index
=
exception
;
env
->
error_code
=
error_code
;
cpu_loop_exit_restore
(
cs
,
pc
);
}
void
QEMU_NORETURN
do_raise_exception_err
(
CPUMIPSState
*
env
,
uint32_t
exception
,
int
error_code
,
uintptr_t
pc
);
static
inline
void
QEMU_NORETURN
do_raise_exception
(
CPUMIPSState
*
env
,
uint32_t
exception
,
...
...
target-mips/gdbstub.c
浏览文件 @
33c11879
...
...
@@ -19,6 +19,7 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "exec/gdbstub.h"
int
mips_cpu_gdb_read_register
(
CPUState
*
cs
,
uint8_t
*
mem_buf
,
int
n
)
...
...
target-mips/helper.c
浏览文件 @
33c11879
...
...
@@ -840,3 +840,20 @@ void r4k_invalidate_tlb (CPUMIPSState *env, int idx, int use_extra)
}
}
#endif
void
QEMU_NORETURN
do_raise_exception_err
(
CPUMIPSState
*
env
,
uint32_t
exception
,
int
error_code
,
uintptr_t
pc
)
{
CPUState
*
cs
=
CPU
(
mips_env_get_cpu
(
env
));
if
(
exception
<
EXCP_SC
)
{
qemu_log_mask
(
CPU_LOG_INT
,
"%s: %d %d
\n
"
,
__func__
,
exception
,
error_code
);
}
cs
->
exception_index
=
exception
;
env
->
error_code
=
error_code
;
cpu_loop_exit_restore
(
cs
,
pc
);
}
target-mips/kvm.c
浏览文件 @
33c11879
...
...
@@ -16,11 +16,11 @@
#include <linux/kvm.h>
#include "qemu-common.h"
#include "cpu.h"
#include "qemu/error-report.h"
#include "qemu/timer.h"
#include "sysemu/sysemu.h"
#include "sysemu/kvm.h"
#include "cpu.h"
#include "sysemu/cpus.h"
#include "kvm_mips.h"
#include "exec/memattrs.h"
...
...
target-mips/machine.c
浏览文件 @
33c11879
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "hw/hw.h"
#include "cpu.h"
#include "migration/cpu.h"
...
...
target-moxie/machine.c
浏览文件 @
33c11879
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "hw/hw.h"
#include "hw/boards.h"
#include "machine.h"
...
...
target-openrisc/gdbstub.c
浏览文件 @
33c11879
...
...
@@ -19,6 +19,7 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "exec/gdbstub.h"
int
openrisc_cpu_gdb_read_register
(
CPUState
*
cs
,
uint8_t
*
mem_buf
,
int
n
)
...
...
target-openrisc/machine.c
浏览文件 @
33c11879
...
...
@@ -18,6 +18,8 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "hw/hw.h"
#include "hw/boards.h"
#include "migration/cpu.h"
...
...
target-ppc/gdbstub.c
浏览文件 @
33c11879
...
...
@@ -19,6 +19,7 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "exec/gdbstub.h"
static
int
ppc_gdb_register_len_apple
(
int
n
)
...
...
target-ppc/kvm-stub.c
浏览文件 @
33c11879
...
...
@@ -11,6 +11,7 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "hw/ppc/openpic.h"
int
kvm_openpic_connect_vcpu
(
DeviceState
*
d
,
CPUState
*
cs
)
...
...
target-ppc/kvm.c
浏览文件 @
33c11879
...
...
@@ -24,11 +24,11 @@
#include "qemu-common.h"
#include "qemu/error-report.h"
#include "cpu.h"
#include "qemu/timer.h"
#include "sysemu/sysemu.h"
#include "sysemu/kvm.h"
#include "kvm_ppc.h"
#include "cpu.h"
#include "sysemu/cpus.h"
#include "sysemu/device_tree.h"
#include "mmu-hash64.h"
...
...
target-ppc/machine.c
浏览文件 @
33c11879
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "hw/hw.h"
#include "hw/boards.h"
#include "sysemu/kvm.h"
...
...
target-s390x/gdbstub.c
浏览文件 @
33c11879
...
...
@@ -19,6 +19,7 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "exec/gdbstub.h"
#include "qemu/bitops.h"
...
...
target-s390x/kvm.c
浏览文件 @
33c11879
...
...
@@ -29,12 +29,12 @@
#include <asm/ptrace.h>
#include "qemu-common.h"
#include "cpu.h"
#include "qemu/error-report.h"
#include "qemu/timer.h"
#include "sysemu/sysemu.h"
#include "sysemu/kvm.h"
#include "hw/hw.h"
#include "cpu.h"
#include "sysemu/device_tree.h"
#include "qapi/qmp/qjson.h"
#include "exec/gdbstub.h"
...
...
target-sh4/gdbstub.c
浏览文件 @
33c11879
...
...
@@ -19,6 +19,7 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "exec/gdbstub.h"
/* Hint: Use "set architecture sh4" in GDB to see fpu registers */
...
...
target-sparc/gdbstub.c
浏览文件 @
33c11879
...
...
@@ -19,6 +19,7 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "exec/gdbstub.h"
#ifdef TARGET_ABI32
...
...
target-sparc/machine.c
浏览文件 @
33c11879
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "hw/hw.h"
#include "hw/boards.h"
#include "qemu/timer.h"
...
...
target-xtensa/gdbstub.c
浏览文件 @
33c11879
...
...
@@ -19,6 +19,7 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "exec/gdbstub.h"
int
xtensa_cpu_gdb_read_register
(
CPUState
*
cs
,
uint8_t
*
mem_buf
,
int
n
)
...
...
tcg/optimize.c
浏览文件 @
33c11879
...
...
@@ -24,9 +24,8 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "tcg-op.h"
#define CASE_OP_32_64(x) \
...
...
tcg/tcg-op.c
浏览文件 @
33c11879
...
...
@@ -23,6 +23,8 @@
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "cpu.h"
#include "tcg.h"
#include "tcg-op.h"
...
...
tcg/tcg.h
浏览文件 @
33c11879
...
...
@@ -26,6 +26,7 @@
#define TCG_H
#include "qemu-common.h"
#include "cpu.h"
#include "qemu/bitops.h"
#include "tcg-target.h"
...
...
xen-hvm.c
浏览文件 @
33c11879
...
...
@@ -11,6 +11,7 @@
#include "qemu/osdep.h"
#include <sys/mman.h>
#include "cpu.h"
#include "hw/pci/pci.h"
#include "hw/i386/pc.h"
#include "hw/i386/apic-msidef.h"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录