Home
last modified time | relevance | path

Searched refs:qemu_get_cpu (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/qemu/hw/cpu/
H A Da15mpcore.c69 cpuobj = OBJECT(qemu_get_cpu(0)); in a15mp_priv_realize()
94 DeviceState *cpudev = DEVICE(qemu_get_cpu(i)); in a15mp_priv_realize()
H A Da9mpcore.c59 cpu0 = qemu_get_cpu(0); in a9mp_priv_realize()
/openbmc/qemu/target/i386/kvm/
H A Dxen-emu.c383 CPUState *cs = qemu_get_cpu(vcpu_id); in kvm_xen_get_vcpu_info_hva()
417 CPUState *cs = qemu_get_cpu(0); in kvm_xen_set_callback_asserted()
426 CPUState *cs = qemu_get_cpu(0); in kvm_xen_has_vcpu_callback_vector()
433 CPUState *cs = qemu_get_cpu(vcpu_id); in kvm_xen_inject_vcpu_callback_vector()
498 CPUState *cs = qemu_get_cpu(vcpu_id); in kvm_xen_set_vcpu_virq()
595 CPUState *cpu = qemu_get_cpu(i); in xen_set_shared_info()
853 target_cs = qemu_get_cpu(up.vcpu); in kvm_xen_hcall_evtchn_upcall_vector()
1178 CPUState *dest = cs->cpu_index == vcpu_id ? cs : qemu_get_cpu(vcpu_id); in kvm_xen_hcall_vcpu_op()
/openbmc/qemu/monitor/
H A Dhmp-cmds-target.c40 cpu = qemu_get_cpu(cpu_index); in monitor_set_cpu()
107 cs = vcpu >= 0 ? qemu_get_cpu(vcpu) : mon_get_cpu(mon); in hmp_info_registers()
/openbmc/qemu/target/s390x/
H A Dcpu_models.c162 cpu = S390_CPU(qemu_get_cpu(0)); in s390_get_hmfai()
176 cpu = S390_CPU(qemu_get_cpu(0)); in s390_get_mha_pow()
191 cpu = S390_CPU(qemu_get_cpu(0)); in s390_get_ibc_val()
221 cpu = S390_CPU(qemu_get_cpu(0)); in s390_has_feat()
/openbmc/qemu/hw/riscv/
H A Dopentitan.c194 CPUState *cpu = qemu_get_cpu(i); in lowrisc_ibex_soc_realize()
227 qdev_get_gpio_in(DEVICE(qemu_get_cpu(0)), in lowrisc_ibex_soc_realize()
H A Dboot.c53 CPUState *cs = qemu_get_cpu(i); in riscv_plic_hart_config_string()
/openbmc/qemu/hw/ppc/
H A Dppce500_spin.c115 cpu = qemu_get_cpu(env_idx); in spin_write()
/openbmc/qemu/hw/core/
H A Dgeneric-loader.c127 s->cpu = qemu_get_cpu(s->cpu_num); in generic_loader_realize()
/openbmc/qemu/hw/intc/
H A Dsifive_plic.c402 RISCVCPU *cpu = RISCV_CPU(qemu_get_cpu(s->hartid_base + i)); in sifive_plic_realize()
509 CPUState *cpu = qemu_get_cpu(cpu_num); in type_init()
H A Driscv_aclint.c486 RISCVCPU *cpu = RISCV_CPU(qemu_get_cpu(swi->hartid_base + i)); in riscv_aclint_swi_realize()
H A Darm_gicv3_common.c439 CPUState *cpu = qemu_get_cpu(i); in arm_gicv3_common_realize()
/openbmc/qemu/stats/
H A Dstats-hmp-cmds.c150 CPUState *cpu = qemu_get_cpu(cpu_index); in stats_filter()
/openbmc/qemu/hw/loongarch/
H A Dboot.c326 qemu_register_reset(reset_load_elf, LOONGARCH_CPU(qemu_get_cpu(i))); in loongarch_load_kernel()
H A Dvirt.c378 LoongArchCPU *cpu = LOONGARCH_CPU(qemu_get_cpu(num)); in fdt_add_cpu_nodes()
857 cpu_state = qemu_get_cpu(cpu); in virt_irq_init()
887 cpudev = DEVICE(qemu_get_cpu(cpu)); in virt_irq_init()
/openbmc/qemu/
H A Dcpu-common.c111 CPUState *qemu_get_cpu(int index) in qemu_get_cpu() function
/openbmc/qemu/hw/i386/kvm/
H A Dxen_evtchn.c551 CPUState *cpu = qemu_get_cpu(vcpu_id); in assign_kernel_port()
598 return !!qemu_get_cpu(vcpu); in valid_vcpu()
917 CPUState *cpu = qemu_get_cpu(p->vcpu); in set_port_pending()
1777 cpu = qemu_get_cpu(s->port_table[port].vcpu); in xen_evtchn_translate_pirq_msi()
/openbmc/qemu/hw/arm/
H A Dsbsa-ref.c261 ARMCPU *armcpu = ARM_CPU(qemu_get_cpu(cpu)); in create_fdt()
474 DeviceState *cpudev = DEVICE(qemu_get_cpu(i)); in create_gic()
H A Dvirt.c253 ARMCPU *cpu = ARM_CPU(qemu_get_cpu(0)); in ns_el2_virt_timer_present()
380 armcpu = ARM_CPU(qemu_get_cpu(0)); in fdt_add_timer_nodes()
437 ARMCPU *armcpu = ARM_CPU(qemu_get_cpu(cpu)); in fdt_add_cpu_nodes()
451 ARMCPU *armcpu = ARM_CPU(qemu_get_cpu(cpu)); in fdt_add_cpu_nodes()
758 ARMCPU *cpu = ARM_CPU(qemu_get_cpu(0)); in gicv3_nmi_present()
865 DeviceState *cpudev = DEVICE(qemu_get_cpu(i)); in create_gic()
H A Dfsl-imx7.c216 DeviceState *d = DEVICE(qemu_get_cpu(i)); in fsl_imx7_realize()
H A Dvexpress.c260 DeviceState *cpudev = DEVICE(qemu_get_cpu(n)); in init_cpus()
/openbmc/qemu/include/hw/core/
H A Dcpu.h930 CPUState *qemu_get_cpu(int index);
/openbmc/qemu/system/
H A Dcpus.c808 cpu = qemu_get_cpu(cpu_index); in qmp_memsave()
/openbmc/qemu/hw/s390x/
H A Dipl.c658 *cs = qemu_get_cpu(ipl->reset_cpu_index); in s390_ipl_get_reset_request()
/openbmc/qemu/target/i386/
H A Dmonitor.c593 cs = qemu_get_cpu(cpu_index); in hmp_mce()

12