mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
include: Rename sysemu/ -> system/
Headers in include/sysemu/ are not only related to system *emulation*, they are also used by virtualization. Rename as system/ which is clearer. Files renamed manually then mechanical change using sed tool. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Tested-by: Lei Yang <leiyang@redhat.com> Message-Id: <20241203172445.28576-1-philmd@linaro.org>
This commit is contained in:
parent
63cda19446
commit
32cad1ffb8
965 changed files with 1708 additions and 1707 deletions
|
@ -22,8 +22,8 @@
|
|||
#include "exec/exec-all.h"
|
||||
#include "exec/tb-flush.h"
|
||||
#include "exec/helper-proto.h"
|
||||
#include "sysemu/runstate.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "system/runstate.h"
|
||||
#include "system/system.h"
|
||||
#include "qemu/timer.h"
|
||||
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include "qemu/osdep.h"
|
||||
#include "cpu.h"
|
||||
#include "sysemu/cpus.h"
|
||||
#include "system/cpus.h"
|
||||
#include "qemu/host-utils.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "tcg/tcg-op.h"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "cpu.h"
|
||||
#include "elf.h"
|
||||
#include "sysemu/dump.h"
|
||||
#include "system/dump.h"
|
||||
#include "cpu-features.h"
|
||||
|
||||
/* struct user_pt_regs from arch/arm64/include/uapi/asm/ptrace.h */
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include "arm-powerctl.h"
|
||||
#include "qemu/log.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "sysemu/tcg.h"
|
||||
#include "system/tcg.h"
|
||||
#include "target/arm/multiprocessing.h"
|
||||
|
||||
#ifndef DEBUG_ARM_POWERCTL
|
||||
|
|
|
@ -41,9 +41,9 @@
|
|||
#include "hw/intc/armv7m_nvic.h"
|
||||
#endif /* CONFIG_TCG */
|
||||
#endif /* !CONFIG_USER_ONLY */
|
||||
#include "sysemu/tcg.h"
|
||||
#include "sysemu/qtest.h"
|
||||
#include "sysemu/hw_accel.h"
|
||||
#include "system/tcg.h"
|
||||
#include "system/qtest.h"
|
||||
#include "system/hw_accel.h"
|
||||
#include "kvm_arm.h"
|
||||
#include "disas/capstone.h"
|
||||
#include "fpu/softfloat.h"
|
||||
|
|
|
@ -24,10 +24,10 @@
|
|||
#include "cpregs.h"
|
||||
#include "qemu/module.h"
|
||||
#include "qemu/units.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "sysemu/hvf.h"
|
||||
#include "sysemu/qtest.h"
|
||||
#include "sysemu/tcg.h"
|
||||
#include "system/kvm.h"
|
||||
#include "system/hvf.h"
|
||||
#include "system/qtest.h"
|
||||
#include "system/tcg.h"
|
||||
#include "kvm_arm.h"
|
||||
#include "hvf_arm.h"
|
||||
#include "qapi/visitor.h"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include "cpregs.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "exec/helper-proto.h"
|
||||
#include "sysemu/tcg.h"
|
||||
#include "system/tcg.h"
|
||||
|
||||
#ifdef CONFIG_TCG
|
||||
/* Return the Exception Level targeted by debug exceptions. */
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include "exec/gdbstub.h"
|
||||
#include "gdbstub/helpers.h"
|
||||
#include "gdbstub/commands.h"
|
||||
#include "sysemu/tcg.h"
|
||||
#include "system/tcg.h"
|
||||
#include "internals.h"
|
||||
#include "cpu-features.h"
|
||||
#include "cpregs.h"
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
#include "exec/exec-all.h"
|
||||
#include <zlib.h> /* for crc32 */
|
||||
#include "hw/irq.h"
|
||||
#include "sysemu/cpu-timers.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "sysemu/tcg.h"
|
||||
#include "system/cpu-timers.h"
|
||||
#include "system/kvm.h"
|
||||
#include "system/tcg.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/guest-random.h"
|
||||
#ifdef CONFIG_TCG
|
||||
|
|
|
@ -13,10 +13,10 @@
|
|||
#include "qemu/error-report.h"
|
||||
#include "qemu/log.h"
|
||||
|
||||
#include "sysemu/runstate.h"
|
||||
#include "sysemu/hvf.h"
|
||||
#include "sysemu/hvf_int.h"
|
||||
#include "sysemu/hw_accel.h"
|
||||
#include "system/runstate.h"
|
||||
#include "system/hvf.h"
|
||||
#include "system/hvf_int.h"
|
||||
#include "system/hw_accel.h"
|
||||
#include "hvf_arm.h"
|
||||
#include "cpregs.h"
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
|||
#include "hw/boards.h"
|
||||
#include "hw/irq.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "sysemu/cpus.h"
|
||||
#include "system/cpus.h"
|
||||
#include "arm-powerctl.h"
|
||||
#include "target/arm/cpu.h"
|
||||
#include "target/arm/internals.h"
|
||||
|
|
|
@ -20,10 +20,10 @@
|
|||
#include "qemu/main-loop.h"
|
||||
#include "qom/object.h"
|
||||
#include "qapi/error.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "sysemu/runstate.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "sysemu/kvm_int.h"
|
||||
#include "system/system.h"
|
||||
#include "system/runstate.h"
|
||||
#include "system/kvm.h"
|
||||
#include "system/kvm_int.h"
|
||||
#include "kvm_arm.h"
|
||||
#include "cpu.h"
|
||||
#include "trace.h"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#ifndef QEMU_KVM_ARM_H
|
||||
#define QEMU_KVM_ARM_H
|
||||
|
||||
#include "sysemu/kvm.h"
|
||||
#include "system/kvm.h"
|
||||
|
||||
#define KVM_ARM_VGIC_V2 (1 << 0)
|
||||
#define KVM_ARM_VGIC_V3 (1 << 1)
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "cpu.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "sysemu/tcg.h"
|
||||
#include "system/kvm.h"
|
||||
#include "system/tcg.h"
|
||||
#include "kvm_arm.h"
|
||||
#include "internals.h"
|
||||
#include "cpu-features.h"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include "exec/helper-proto.h"
|
||||
#include "kvm-consts.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "sysemu/runstate.h"
|
||||
#include "system/runstate.h"
|
||||
#include "internals.h"
|
||||
#include "arm-powerctl.h"
|
||||
#include "target/arm/multiprocessing.h"
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
#include "exec/exec-all.h"
|
||||
#include "exec/helper-proto.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "sysemu/runstate.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "system/runstate.h"
|
||||
#include "system/system.h"
|
||||
#include "chardev/char-fe.h"
|
||||
|
||||
void HELPER(write_interval_timer)(CPUHPPAState *env, target_ulong val)
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
|
||||
#include "qemu/osdep.h"
|
||||
#include "cpu.h"
|
||||
#include "sysemu/dump.h"
|
||||
#include "system/dump.h"
|
||||
#include "elf.h"
|
||||
#include "sysemu/memory_mapping.h"
|
||||
#include "system/memory_mapping.h"
|
||||
|
||||
#define ELF_NOTE_SIZE(hdr_size, name_size, desc_size) \
|
||||
((DIV_ROUND_UP((hdr_size), 4) \
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include "qemu/osdep.h"
|
||||
#include "cpu.h"
|
||||
#include "sysemu/memory_mapping.h"
|
||||
#include "system/memory_mapping.h"
|
||||
|
||||
/* PAE Paging or IA-32e Paging */
|
||||
static void walk_pte(MemoryMappingList *list, AddressSpace *as,
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
#include "qapi/error.h"
|
||||
#include "monitor/monitor.h"
|
||||
#include "monitor/hmp-target.h"
|
||||
#include "sysemu/hw_accel.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "sysemu/xen.h"
|
||||
#include "system/hw_accel.h"
|
||||
#include "system/kvm.h"
|
||||
#include "system/xen.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "hw/qdev-properties.h"
|
||||
#include "hw/i386/apic_internal.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* i386 CPU internal definitions to be shared between cpu.c and cpu-sysemu.c
|
||||
* i386 CPU internal definitions to be shared between cpu.c and cpu-system.c
|
||||
*
|
||||
* Copyright (c) 2003 Fabrice Bellard
|
||||
*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* i386 CPUID, CPU class, definitions, models: sysemu-only code
|
||||
* i386 CPUID, CPU class, definitions, models: system-only code
|
||||
*
|
||||
* Copyright (c) 2003 Fabrice Bellard
|
||||
*
|
|
@ -24,7 +24,7 @@
|
|||
#include "qemu/hw-version.h"
|
||||
#include "cpu.h"
|
||||
#include "tcg/helper-tcg.h"
|
||||
#include "sysemu/hvf.h"
|
||||
#include "system/hvf.h"
|
||||
#include "hvf/hvf-i386.h"
|
||||
#include "kvm/kvm_i386.h"
|
||||
#include "sev.h"
|
||||
|
@ -35,7 +35,7 @@
|
|||
#include "hw/qdev-properties.h"
|
||||
#include "hw/i386/topology.h"
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
#include "sysemu/reset.h"
|
||||
#include "system/reset.h"
|
||||
#include "qapi/qapi-commands-machine-target.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "hw/boards.h"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#ifndef I386_CPU_H
|
||||
#define I386_CPU_H
|
||||
|
||||
#include "sysemu/tcg.h"
|
||||
#include "system/tcg.h"
|
||||
#include "cpu-qom.h"
|
||||
#include "kvm/hyperv-proto.h"
|
||||
#include "exec/cpu-defs.h"
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
#include "qapi/qapi-events-run-state.h"
|
||||
#include "cpu.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "sysemu/runstate.h"
|
||||
#include "system/runstate.h"
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
#include "sysemu/hw_accel.h"
|
||||
#include "system/hw_accel.h"
|
||||
#include "monitor/monitor.h"
|
||||
#include "kvm/kvm_i386.h"
|
||||
#endif
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include "host-cpu.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "system/system.h"
|
||||
|
||||
/* Note: Only safe for use on x86(-64) hosts */
|
||||
static uint32_t host_cpu_phys_bits(void)
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
#include "cpu.h"
|
||||
#include "host-cpu.h"
|
||||
#include "qapi/error.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "system/system.h"
|
||||
#include "hw/boards.h"
|
||||
#include "sysemu/hvf.h"
|
||||
#include "system/hvf.h"
|
||||
#include "hw/core/accel-cpu.h"
|
||||
#include "hvf-i386.h"
|
||||
|
||||
|
|
|
@ -52,10 +52,10 @@
|
|||
#include "qapi/error.h"
|
||||
#include "migration/blocker.h"
|
||||
|
||||
#include "sysemu/hvf.h"
|
||||
#include "sysemu/hvf_int.h"
|
||||
#include "sysemu/runstate.h"
|
||||
#include "sysemu/cpus.h"
|
||||
#include "system/hvf.h"
|
||||
#include "system/hvf_int.h"
|
||||
#include "system/runstate.h"
|
||||
#include "system/cpus.h"
|
||||
#include "hvf-i386.h"
|
||||
#include "vmcs.h"
|
||||
#include "vmx.h"
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
#include "vmcs.h"
|
||||
#include "cpu.h"
|
||||
#include "x86.h"
|
||||
#include "sysemu/hvf.h"
|
||||
#include "sysemu/hvf_int.h"
|
||||
#include "system/hvf.h"
|
||||
#include "system/hvf_int.h"
|
||||
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include "cpu.h"
|
||||
#include "x86.h"
|
||||
#include "vmx.h"
|
||||
#include "sysemu/hvf.h"
|
||||
#include "system/hvf.h"
|
||||
#include "hvf-i386.h"
|
||||
|
||||
static bool cached_xcr0;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include "panic.h"
|
||||
#include "qemu/error-report.h"
|
||||
|
||||
#include "sysemu/hvf.h"
|
||||
#include "system/hvf.h"
|
||||
#include "hvf-i386.h"
|
||||
#include "vmcs.h"
|
||||
#include "vmx.h"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "cpu.h"
|
||||
#include "x86_descr.h"
|
||||
#include "x86_decode.h"
|
||||
#include "sysemu/hw_accel.h"
|
||||
#include "system/hw_accel.h"
|
||||
|
||||
#include "hw/i386/apic_internal.h"
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#define TARGET_I386_HYPERV_H
|
||||
|
||||
#include "cpu.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "system/kvm.h"
|
||||
#include "hw/hyperv/hyperv.h"
|
||||
|
||||
#ifdef CONFIG_KVM
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "cpu.h"
|
||||
#include "host-cpu.h"
|
||||
#include "qapi/error.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "system/system.h"
|
||||
#include "hw/boards.h"
|
||||
|
||||
#include "kvm_i386.h"
|
||||
|
|
|
@ -31,10 +31,10 @@
|
|||
#include "cpu.h"
|
||||
#include "host-cpu.h"
|
||||
#include "vmsr_energy.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "sysemu/hw_accel.h"
|
||||
#include "sysemu/kvm_int.h"
|
||||
#include "sysemu/runstate.h"
|
||||
#include "system/system.h"
|
||||
#include "system/hw_accel.h"
|
||||
#include "system/kvm_int.h"
|
||||
#include "system/runstate.h"
|
||||
#include "kvm_i386.h"
|
||||
#include "../confidential-guest.h"
|
||||
#include "sev.h"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#ifndef QEMU_KVM_I386_H
|
||||
#define QEMU_KVM_I386_H
|
||||
|
||||
#include "sysemu/kvm.h"
|
||||
#include "system/kvm.h"
|
||||
|
||||
/* always false if !CONFIG_KVM */
|
||||
#define kvm_pit_in_kernel() \
|
||||
|
|
|
@ -14,13 +14,13 @@
|
|||
#include "qemu/main-loop.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "hw/xen/xen.h"
|
||||
#include "sysemu/kvm_int.h"
|
||||
#include "sysemu/kvm_xen.h"
|
||||
#include "system/kvm_int.h"
|
||||
#include "system/kvm_xen.h"
|
||||
#include "kvm/kvm_i386.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "xen-emu.h"
|
||||
#include "trace.h"
|
||||
#include "sysemu/runstate.h"
|
||||
#include "system/runstate.h"
|
||||
|
||||
#include "hw/pci/msi.h"
|
||||
#include "hw/i386/apic-msidef.h"
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
#include "kvm/kvm_i386.h"
|
||||
#include "hw/xen/xen.h"
|
||||
|
||||
#include "sysemu/kvm.h"
|
||||
#include "sysemu/kvm_xen.h"
|
||||
#include "sysemu/tcg.h"
|
||||
#include "system/kvm.h"
|
||||
#include "system/kvm_xen.h"
|
||||
#include "system/tcg.h"
|
||||
|
||||
#include "qemu/error-report.h"
|
||||
|
||||
|
|
|
@ -19,9 +19,10 @@ i386_system_ss.add(files(
|
|||
'machine.c',
|
||||
'monitor.c',
|
||||
'cpu-apic.c',
|
||||
'cpu-sysemu.c',
|
||||
'cpu-system.c',
|
||||
))
|
||||
i386_system_ss.add(when: 'CONFIG_SEV', if_true: files('sev.c'), if_false: files('sev-sysemu-stub.c'))
|
||||
i386_system_ss.add(when: 'CONFIG_SEV', if_true: files('sev.c'),
|
||||
if_false: files('sev-system-stub.c'))
|
||||
|
||||
i386_user_ss = ss.source_set()
|
||||
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "sysemu/kvm_int.h"
|
||||
#include "system/kvm_int.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "sysemu/cpus.h"
|
||||
#include "system/cpus.h"
|
||||
#include "qemu/guest-random.h"
|
||||
|
||||
#include "sysemu/nvmm.h"
|
||||
#include "system/nvmm.h"
|
||||
#include "nvmm-accel-ops.h"
|
||||
|
||||
static void *qemu_nvmm_cpu_thread_fn(void *arg)
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#ifndef TARGET_I386_NVMM_ACCEL_OPS_H
|
||||
#define TARGET_I386_NVMM_ACCEL_OPS_H
|
||||
|
||||
#include "sysemu/cpus.h"
|
||||
#include "system/cpus.h"
|
||||
|
||||
int nvmm_init_vcpu(CPUState *cpu);
|
||||
int nvmm_vcpu_exec(CPUState *cpu);
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
#include "exec/address-spaces.h"
|
||||
#include "exec/ioport.h"
|
||||
#include "qemu/accel.h"
|
||||
#include "sysemu/nvmm.h"
|
||||
#include "sysemu/cpus.h"
|
||||
#include "sysemu/runstate.h"
|
||||
#include "system/nvmm.h"
|
||||
#include "system/cpus.h"
|
||||
#include "system/runstate.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qapi/error.h"
|
||||
|
|
|
@ -26,11 +26,11 @@
|
|||
#include "qemu/uuid.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "crypto/hash.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "system/kvm.h"
|
||||
#include "kvm/kvm_i386.h"
|
||||
#include "sev.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "sysemu/runstate.h"
|
||||
#include "system/system.h"
|
||||
#include "system/runstate.h"
|
||||
#include "trace.h"
|
||||
#include "migration/blocker.h"
|
||||
#include "qom/object.h"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include "cpu.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "qemu/log.h"
|
||||
#include "sysemu/runstate.h"
|
||||
#include "system/runstate.h"
|
||||
#include "exec/helper-proto.h"
|
||||
#include "helper-tcg.h"
|
||||
|
||||
|
|
|
@ -12,5 +12,5 @@ i386_ss.add(when: 'CONFIG_TCG', if_true: files(
|
|||
'tcg-cpu.c',
|
||||
'translate.c'), if_false: files('tcg-stub.c'))
|
||||
|
||||
subdir('sysemu')
|
||||
subdir('system')
|
||||
subdir('user')
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* i386 breakpoint helpers - sysemu code
|
||||
* i386 breakpoint helpers - system code
|
||||
*
|
||||
* Copyright (c) 2003 Fabrice Bellard
|
||||
*
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* x86 exception helpers - sysemu code
|
||||
* x86 exception helpers - system code
|
||||
*
|
||||
* Copyright (c) 2003 Fabrice Bellard
|
||||
*
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* x86 FPU, MMX/3DNow!/SSE/SSE2/SSE3/SSSE3/SSE4/PNI helpers (sysemu code)
|
||||
* x86 FPU, MMX/3DNow!/SSE/SSE2/SSE3/SSSE3/SSE4/PNI helpers (system code)
|
||||
*
|
||||
* Copyright (c) 2003 Fabrice Bellard
|
||||
*
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* x86 misc helpers - sysemu code
|
||||
* x86 misc helpers - system code
|
||||
*
|
||||
* Copyright (c) 2003 Fabrice Bellard
|
||||
*
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* x86 segmentation related helpers: (sysemu-only code)
|
||||
* x86 segmentation related helpers: (system-only code)
|
||||
* TSS, interrupts, system calls, jumps and call/task gates, descriptors
|
||||
*
|
||||
* Copyright (c) 2003 Fabrice Bellard
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* x86 SMM helpers (sysemu-only)
|
||||
* x86 SMM helpers (system-only)
|
||||
*
|
||||
* Copyright (c) 2003 Fabrice Bellard
|
||||
*
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* x86 SVM helpers (sysemu only)
|
||||
* x86 SVM helpers (system only)
|
||||
*
|
||||
* Copyright (c) 2003 Fabrice Bellard
|
||||
*
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* i386 TCG cpu class initialization functions specific to sysemu
|
||||
* i386 TCG cpu class initialization functions specific to system emulation
|
||||
*
|
||||
* Copyright (c) 2003 Fabrice Bellard
|
||||
*
|
||||
|
@ -21,7 +21,7 @@
|
|||
#include "cpu.h"
|
||||
#include "tcg/helper-tcg.h"
|
||||
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "system/system.h"
|
||||
#include "qemu/units.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
|
@ -228,7 +228,7 @@ typedef struct DisasContext {
|
|||
#endif
|
||||
|
||||
/*
|
||||
* Many sysemu-only helpers are not reachable for user-only.
|
||||
* Many system-only helpers are not reachable for user-only.
|
||||
* Define stub generators here, so that we need not either sprinkle
|
||||
* ifdefs through the translator, nor provide the helper function.
|
||||
*/
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "sysemu/kvm_int.h"
|
||||
#include "system/kvm_int.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "sysemu/cpus.h"
|
||||
#include "system/cpus.h"
|
||||
#include "qemu/guest-random.h"
|
||||
|
||||
#include "sysemu/whpx.h"
|
||||
#include "system/whpx.h"
|
||||
#include "whpx-internal.h"
|
||||
#include "whpx-accel-ops.h"
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#ifndef TARGET_I386_WHPX_ACCEL_OPS_H
|
||||
#define TARGET_I386_WHPX_ACCEL_OPS_H
|
||||
|
||||
#include "sysemu/cpus.h"
|
||||
#include "system/cpus.h"
|
||||
|
||||
int whpx_init_vcpu(CPUState *cpu);
|
||||
int whpx_vcpu_exec(CPUState *cpu);
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
#include "exec/ioport.h"
|
||||
#include "gdbstub/helpers.h"
|
||||
#include "qemu/accel.h"
|
||||
#include "sysemu/whpx.h"
|
||||
#include "sysemu/cpus.h"
|
||||
#include "sysemu/runstate.h"
|
||||
#include "system/whpx.h"
|
||||
#include "system/cpus.h"
|
||||
#include "system/runstate.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/intc/ioapic.h"
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
#include "hw/i386/apic_internal.h"
|
||||
#include "hw/i386/apic-msidef.h"
|
||||
#include "hw/pci/msi.h"
|
||||
#include "sysemu/hw_accel.h"
|
||||
#include "sysemu/whpx.h"
|
||||
#include "system/hw_accel.h"
|
||||
#include "system/whpx.h"
|
||||
#include "whpx-internal.h"
|
||||
|
||||
struct whpx_lapic_state {
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "cpu.h"
|
||||
#include "elf.h"
|
||||
#include "sysemu/dump.h"
|
||||
#include "system/dump.h"
|
||||
#include "internals.h"
|
||||
|
||||
/* struct user_pt_regs from arch/loongarch/include/uapi/asm/ptrace.h */
|
||||
|
|
|
@ -10,9 +10,9 @@
|
|||
#include "qemu/qemu-print.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qemu/module.h"
|
||||
#include "sysemu/qtest.h"
|
||||
#include "sysemu/tcg.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "system/qtest.h"
|
||||
#include "system/tcg.h"
|
||||
#include "system/kvm.h"
|
||||
#include "kvm/kvm_loongarch.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "cpu.h"
|
||||
|
@ -20,7 +20,7 @@
|
|||
#include "fpu/softfloat-helpers.h"
|
||||
#include "cpu-csr.h"
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
#include "sysemu/reset.h"
|
||||
#include "system/reset.h"
|
||||
#endif
|
||||
#include "vec.h"
|
||||
#ifdef CONFIG_KVM
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
#include "qemu/timer.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "sysemu/kvm_int.h"
|
||||
#include "system/system.h"
|
||||
#include "system/kvm.h"
|
||||
#include "system/kvm_int.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "exec/memattrs.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
@ -23,7 +23,7 @@
|
|||
#include "hw/irq.h"
|
||||
#include "qemu/log.h"
|
||||
#include "hw/loader.h"
|
||||
#include "sysemu/runstate.h"
|
||||
#include "system/runstate.h"
|
||||
#include "cpu-csr.h"
|
||||
#include "kvm_loongarch.h"
|
||||
#include "trace.h"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "cpu.h"
|
||||
#include "migration/cpu.h"
|
||||
#include "sysemu/tcg.h"
|
||||
#include "system/tcg.h"
|
||||
#include "vec.h"
|
||||
|
||||
static const VMStateDescription vmstate_fpu_reg = {
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
#include "internal.h"
|
||||
#include "kvm_mips.h"
|
||||
#include "qemu/module.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "sysemu/qtest.h"
|
||||
#include "system/kvm.h"
|
||||
#include "system/qtest.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "hw/qdev-properties.h"
|
||||
#include "hw/qdev-clock.h"
|
||||
|
|
|
@ -594,7 +594,7 @@ DEF_HELPER_FLAGS_3(wrdsp, 0, void, tl, tl, env)
|
|||
DEF_HELPER_FLAGS_2(rddsp, 0, tl, tl, env)
|
||||
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
#include "tcg/sysemu_helper.h.inc"
|
||||
#include "tcg/system_helper.h.inc"
|
||||
#endif /* !CONFIG_USER_ONLY */
|
||||
|
||||
#include "tcg/msa_helper.h.inc"
|
||||
|
|
|
@ -18,9 +18,9 @@
|
|||
#include "internal.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "sysemu/kvm_int.h"
|
||||
#include "sysemu/runstate.h"
|
||||
#include "system/kvm.h"
|
||||
#include "system/kvm_int.h"
|
||||
#include "system/runstate.h"
|
||||
#include "kvm_mips.h"
|
||||
#include "hw/boards.h"
|
||||
#include "fpu_helper.h"
|
||||
|
|
|
@ -9,7 +9,7 @@ mips_ss.add(files(
|
|||
))
|
||||
|
||||
if have_system
|
||||
subdir('sysemu')
|
||||
subdir('system')
|
||||
endif
|
||||
|
||||
if 'CONFIG_TCG' in config_all_accel
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "hw/irq.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "system/kvm.h"
|
||||
#include "internal.h"
|
||||
|
||||
/* MIPS R4K timer */
|
|
@ -36,5 +36,5 @@ mips_ss.add(when: 'TARGET_MIPS64', if_true: files(
|
|||
))
|
||||
|
||||
if have_system
|
||||
subdir('sysemu')
|
||||
subdir('system')
|
||||
endif
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* QEMU MIPS sysemu helpers
|
||||
* QEMU MIPS TCG system helpers
|
||||
*
|
||||
* Copyright (c) 2004-2005 Jocelyn Mayer
|
||||
* Copyright (c) 2006 Marius Groeger (FPU operations)
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
|
||||
/*
|
||||
* Many sysemu-only helpers are not reachable for user-only.
|
||||
* Many system-only helpers are not reachable for user-only.
|
||||
* Define stub generators here, so that we need not either sprinkle
|
||||
* ifdefs through the translator, nor provide the helper function.
|
||||
*/
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "cpu.h"
|
||||
#include "elf.h"
|
||||
#include "sysemu/dump.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "system/dump.h"
|
||||
#include "system/kvm.h"
|
||||
|
||||
#ifdef TARGET_PPC64
|
||||
#define ELFCLASS ELFCLASS64
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "sysemu/hw_accel.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "system/hw_accel.h"
|
||||
#include "system/kvm.h"
|
||||
#include "kvm_ppc.h"
|
||||
#include "sysemu/cpus.h"
|
||||
#include "system/cpus.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qapi/error.h"
|
||||
#include "qapi/visitor.h"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "fpu/softfloat-helpers.h"
|
||||
#include "mmu-hash64.h"
|
||||
#include "helper_regs.h"
|
||||
#include "sysemu/tcg.h"
|
||||
#include "system/tcg.h"
|
||||
|
||||
target_ulong cpu_read_xer(const CPUPPCState *env)
|
||||
{
|
||||
|
|
|
@ -22,9 +22,9 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "disas/dis-asm.h"
|
||||
#include "gdbstub/helpers.h"
|
||||
#include "sysemu/cpus.h"
|
||||
#include "sysemu/hw_accel.h"
|
||||
#include "sysemu/tcg.h"
|
||||
#include "system/cpus.h"
|
||||
#include "system/hw_accel.h"
|
||||
#include "system/tcg.h"
|
||||
#include "cpu-models.h"
|
||||
#include "mmu-hash32.h"
|
||||
#include "mmu-hash64.h"
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "qemu/log.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "sysemu/runstate.h"
|
||||
#include "system/system.h"
|
||||
#include "system/runstate.h"
|
||||
#include "cpu.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "internal.h"
|
||||
|
@ -30,7 +30,7 @@
|
|||
#include "trace.h"
|
||||
|
||||
#ifdef CONFIG_TCG
|
||||
#include "sysemu/tcg.h"
|
||||
#include "system/tcg.h"
|
||||
#include "exec/helper-proto.h"
|
||||
#include "exec/cpu_ldst.h"
|
||||
#endif
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
#include "cpu.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "sysemu/tcg.h"
|
||||
#include "system/kvm.h"
|
||||
#include "system/tcg.h"
|
||||
#include "helper_regs.h"
|
||||
#include "power8-pmu.h"
|
||||
#include "cpu-models.h"
|
||||
|
|
|
@ -26,10 +26,10 @@
|
|||
#include "cpu.h"
|
||||
#include "cpu-models.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "sysemu/hw_accel.h"
|
||||
#include "system/hw_accel.h"
|
||||
#include "kvm_ppc.h"
|
||||
#include "sysemu/cpus.h"
|
||||
#include "sysemu/device_tree.h"
|
||||
#include "system/cpus.h"
|
||||
#include "system/device_tree.h"
|
||||
#include "mmu-hash64.h"
|
||||
|
||||
#include "hw/ppc/spapr.h"
|
||||
|
@ -37,18 +37,18 @@
|
|||
#include "hw/hw.h"
|
||||
#include "hw/ppc/ppc.h"
|
||||
#include "migration/qemu-file-types.h"
|
||||
#include "sysemu/watchdog.h"
|
||||
#include "system/watchdog.h"
|
||||
#include "trace.h"
|
||||
#include "gdbstub/enums.h"
|
||||
#include "exec/memattrs.h"
|
||||
#include "exec/ram_addr.h"
|
||||
#include "sysemu/hostmem.h"
|
||||
#include "system/hostmem.h"
|
||||
#include "qemu/cutils.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "qemu/mmap-alloc.h"
|
||||
#include "elf.h"
|
||||
#include "sysemu/kvm_int.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "system/kvm_int.h"
|
||||
#include "system/kvm.h"
|
||||
#include "hw/core/accel-cpu.h"
|
||||
|
||||
#include CONFIG_DEVICES
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#ifndef KVM_PPC_H
|
||||
#define KVM_PPC_H
|
||||
|
||||
#include "sysemu/kvm.h"
|
||||
#include "system/kvm.h"
|
||||
#include "exec/hwaddr.h"
|
||||
#include "cpu.h"
|
||||
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "cpu.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "sysemu/tcg.h"
|
||||
#include "system/kvm.h"
|
||||
#include "system/tcg.h"
|
||||
#include "helper_regs.h"
|
||||
#include "mmu-hash64.h"
|
||||
#include "migration/cpu.h"
|
||||
#include "qapi/error.h"
|
||||
#include "kvm_ppc.h"
|
||||
#include "power8-pmu.h"
|
||||
#include "sysemu/replay.h"
|
||||
#include "system/replay.h"
|
||||
|
||||
static void post_load_update_msr(CPUPPCState *env)
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include "cpu.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "exec/page-protection.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "system/kvm.h"
|
||||
#include "kvm_ppc.h"
|
||||
#include "internal.h"
|
||||
#include "mmu-hash32.h"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include "exec/page-protection.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qemu/qemu-print.h"
|
||||
#include "sysemu/hw_accel.h"
|
||||
#include "system/hw_accel.h"
|
||||
#include "kvm_ppc.h"
|
||||
#include "mmu-hash64.h"
|
||||
#include "exec/log.h"
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include "exec/exec-all.h"
|
||||
#include "exec/page-protection.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "system/kvm.h"
|
||||
#include "kvm_ppc.h"
|
||||
#include "exec/log.h"
|
||||
#include "internal.h"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "qemu/units.h"
|
||||
#include "cpu.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "system/kvm.h"
|
||||
#include "kvm_ppc.h"
|
||||
#include "mmu-hash64.h"
|
||||
#include "mmu-hash32.h"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "qemu/units.h"
|
||||
#include "cpu.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "system/kvm.h"
|
||||
#include "kvm_ppc.h"
|
||||
#include "mmu-hash64.h"
|
||||
#include "mmu-hash32.h"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "cpu.h"
|
||||
#include "elf.h"
|
||||
#include "sysemu/dump.h"
|
||||
#include "system/dump.h"
|
||||
|
||||
/* struct user_regs_struct from arch/riscv/include/uapi/asm/ptrace.h */
|
||||
struct riscv64_user_regs {
|
||||
|
|
|
@ -32,9 +32,9 @@
|
|||
#include "hw/core/qdev-prop-internal.h"
|
||||
#include "migration/vmstate.h"
|
||||
#include "fpu/softfloat-helpers.h"
|
||||
#include "sysemu/device_tree.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "sysemu/tcg.h"
|
||||
#include "system/device_tree.h"
|
||||
#include "system/kvm.h"
|
||||
#include "system/tcg.h"
|
||||
#include "kvm/kvm_riscv.h"
|
||||
#include "tcg/tcg-cpu.h"
|
||||
#include "tcg/tcg.h"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include "tcg/tcg-op.h"
|
||||
#include "trace.h"
|
||||
#include "semihosting/common-semi.h"
|
||||
#include "sysemu/cpu-timers.h"
|
||||
#include "system/cpu-timers.h"
|
||||
#include "cpu_bits.h"
|
||||
#include "debug.h"
|
||||
#include "tcg/oversized-guest.h"
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue