/qemu/tests/qtest/fuzz/ |
H A D | qtest_wrappers.c | 110 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in __wrap_qtest_readb() 122 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in __wrap_qtest_readw() 134 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in __wrap_qtest_readl() 146 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in __wrap_qtest_readq() 157 address_space_write(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in __wrap_qtest_writeb() 167 address_space_write(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in __wrap_qtest_writew() 177 address_space_write(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in __wrap_qtest_writel() 187 address_space_write(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in __wrap_qtest_writeq() 197 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, data, in __wrap_qtest_memread() 207 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, data, in __wrap_qtest_bufread() [all …]
|
/qemu/accel/tcg/ |
H A D | tcg-accel-ops-rr.c | 92 if (!rr_kick_vcpu_timer && CPU_NEXT(first_cpu)) { in rr_start_kick_timer() 114 qemu_cond_wait_bql(first_cpu->halt_cond); in rr_wait_io_event() 200 while (first_cpu->stopped) { in rr_cpu_thread_fn() 201 qemu_cond_wait_bql(first_cpu->halt_cond); in rr_cpu_thread_fn() 212 cpu = first_cpu; in rr_cpu_thread_fn() 242 cpu = first_cpu; in rr_cpu_thread_fn() 335 cpu->thread_id = first_cpu->thread_id; in rr_start_vcpu_thread()
|
/qemu/dump/ |
H A D | win_dump.c | 116 if (cpu_memory_rw_debug(first_cpu, in patch_mm_pfn_database() 129 if (cpu_read_ptr(x64, first_cpu, in patch_bugcheck_data() 136 if (cpu_memory_rw_debug(first_cpu, KiBugcheckData, in patch_bugcheck_data() 211 if (cpu_memory_rw_debug(first_cpu, in check_kdbg() 259 if (cpu_read_ptr(x64, first_cpu, in patch_and_save_context() 266 if (cpu_memory_rw_debug(first_cpu, in patch_and_save_context() 287 if (cpu_read_ptr(x64, first_cpu, in patch_and_save_context() 295 if (cpu_read_ptr(x64, first_cpu, in patch_and_save_context() 379 if (cpu_memory_rw_debug(first_cpu, Context, in patch_and_save_context() 385 if (cpu_memory_rw_debug(first_cpu, Context, in patch_and_save_context() [all …]
|
/qemu/system/ |
H A D | qtest.c | 514 address_space_write(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in qtest_process_command() 519 address_space_write(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in qtest_process_command() 524 address_space_write(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in qtest_process_command() 529 address_space_write(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in qtest_process_command() 547 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in qtest_process_command() 552 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in qtest_process_command() 557 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in qtest_process_command() 561 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in qtest_process_command() 581 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, data, in qtest_process_command() 602 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, data, in qtest_process_command() [all …]
|
H A D | cpu-timers.c | 254 } else if (first_cpu) { in qemu_timer_notify_cb() 263 async_run_on_cpu(first_cpu, do_nothing, RUN_ON_CPU_NULL); in qemu_timer_notify_cb()
|
/qemu/target/i386/tcg/system/ |
H A D | fpu_helper.c | 44 CPUX86State *env = &X86_CPU(first_cpu)->env; in cpu_clear_ignne() 50 CPUX86State *env = &X86_CPU(first_cpu)->env; in cpu_set_ignne()
|
/qemu/hw/misc/ |
H A D | mips_cpc.c | 47 CPUState *cs = first_cpu; in cpc_run_vp() 65 CPUState *cs = first_cpu; in cpc_stop_vp()
|
/qemu/monitor/ |
H A D | hmp-cmds-target.c | 64 if (!first_cpu) { in mon_get_cpu_sync() 67 monitor_set_cpu(mon, first_cpu->cpu_index); in mon_get_cpu_sync() 68 cpu = first_cpu; in mon_get_cpu_sync()
|
/qemu/hw/i386/kvm/ |
H A D | clock.c | 67 CPUState *cpu = first_cpu; in kvmclock_current_nsec() 331 X86CPU *cpu = X86_CPU(first_cpu); in kvmclock_create()
|
/qemu/target/riscv/ |
H A D | arch_dump.c | 170 if (first_cpu == NULL) { in cpu_get_dump_info() 173 cpu = RISCV_CPU(first_cpu); in cpu_get_dump_info()
|
/qemu/hw/ppc/ |
H A D | spapr_caps.c | 198 CPUPPCState *env = cpu_env(first_cpu); in cap_vsx_apply() 221 if (!(cpu_env(first_cpu)->insns_flags2 & PPC2_DFP)) { in cap_dfp_apply() 441 PowerPCCPU *cpu = POWERPC_CPU(first_cpu); in cap_nested_kvm_hv_apply() 504 PowerPCCPU *cpu = POWERPC_CPU(first_cpu); in cap_nested_papr_apply() 539 PowerPCCPU *cpu = POWERPC_CPU(first_cpu); in cap_large_decr_apply() 677 PowerPCCPU *cpu = POWERPC_CPU(first_cpu); in cap_ail_mode_3_apply()
|
H A D | spapr_vof.c | 61 PowerPCCPU *first_ppc_cpu = POWERPC_CPU(first_cpu); in spapr_vof_reset()
|
/qemu/hw/arm/ |
H A D | boot.c | 747 (info->secure_board_setup && cs == first_cpu))) { in do_cpu_reset() 755 if (cs == first_cpu) { in do_cpu_reset() 1148 for (cs = first_cpu; cs; cs = CPU_NEXT(cs)) { in arm_setup_direct_kernel_boot() 1225 for (cs = first_cpu; cs; cs = CPU_NEXT(cs)) { in arm_load_kernel() 1286 for (cs = first_cpu; cs; cs = CPU_NEXT(cs)) { in arm_load_kernel() 1296 if (cs != first_cpu) { in arm_load_kernel()
|
H A D | aspeed_ast27x0-fc.c | 121 arm_load_kernel(ARM_CPU(first_cpu), machine, &ast2700fc_board_info); in ast2700fc_ca35_init()
|
H A D | mps3r.c | 248 for (CPUState *cs = first_cpu; cs; cs = CPU_NEXT(cs)) { in mps3r_write_secondary_boot() 249 if (cs != first_cpu) { in mps3r_write_secondary_boot()
|
/qemu/hw/i386/ |
H A D | x86-cpu.c | 43 CPUState *cs = first_cpu; in pic_irq_request()
|
/qemu/target/arm/ |
H A D | arch_dump.c | 396 if (first_cpu == NULL) { in cpu_get_dump_info() 400 cpu = ARM_CPU(first_cpu); in cpu_get_dump_info() 444 ARMCPU *cpu = ARM_CPU(first_cpu); in cpu_get_note_size()
|
/qemu/hw/loongarch/ |
H A D | boot.c | 330 if (cpu == LOONGARCH_CPU(first_cpu)) { in reset_load_elf() 411 if (cs == first_cpu) { in loongarch_direct_kernel_boot()
|
/qemu/target/ppc/ |
H A D | arch_dump.c | 237 if (first_cpu == NULL) { in cpu_get_dump_info() 241 cpu = POWERPC_CPU(first_cpu); in cpu_get_dump_info()
|
/qemu/target/i386/ |
H A D | arch_dump.c | 188 X86CPU *first_x86_cpu = X86_CPU(first_cpu); in x86_cpu_write_elf64_note() 404 X86CPU *first_x86_cpu = X86_CPU(first_cpu); in cpu_get_dump_info() 405 lma = first_cpu && (first_x86_cpu->env.hflags & HF_LMA_MASK); in cpu_get_dump_info()
|
/qemu/hw/core/ |
H A D | generic-loader.c | 129 s->cpu = first_cpu; in generic_loader_realize()
|
/qemu/hw/intc/ |
H A D | sh_intc.c | 47 cpu_interrupt(first_cpu, CPU_INTERRUPT_HARD); in sh_intc_toggle_source() 52 cpu_reset_interrupt(first_cpu, CPU_INTERRUPT_HARD); in sh_intc_toggle_source()
|
/qemu/hw/mips/ |
H A D | cps.c | 148 gcr_base = MIPS_CPU(first_cpu)->env.CP0_CMGCRBase << 4; in mips_cps_realize()
|
/qemu/hw/acpi/ |
H A D | cpu.c | 137 if (!cdev->cpu || cdev->cpu == first_cpu) { in cpu_hotplug_wr() 149 if (!cdev->cpu || cdev->cpu == first_cpu) { in cpu_hotplug_wr() 704 if (CPU(arch_ids->cpus[i].cpu) != first_cpu) { in build_cpus_aml()
|
/qemu/replay/ |
H A D | replay-events.c | 121 qemu_cpu_kick(first_cpu); in replay_add_event()
|