| /openbmc/qemu/plugins/ |
| H A D | api.c | 343 uint64_t low = current_cpu->neg.plugin_mem_value_low; in qemu_plugin_mem_get_value() 366 value.data.u128.high = current_cpu->neg.plugin_mem_value_high; in qemu_plugin_mem_get_value() 431 g_assert(current_cpu); in qemu_plugin_get_registers() 433 g_autoptr(GArray) regs = gdb_get_register_list(current_cpu); in qemu_plugin_get_registers() 439 g_assert(current_cpu); in qemu_plugin_read_register() 445 return gdb_read_register(current_cpu, buf, GPOINTER_TO_INT(reg) - 1); in qemu_plugin_read_register() 451 g_assert(current_cpu); in qemu_plugin_write_register() 457 return gdb_write_register(current_cpu, buf->data, GPOINTER_TO_INT(reg) - 1); in qemu_plugin_write_register() 462 g_assert(current_cpu); in qemu_plugin_read_memory_vaddr() 470 int result = cpu_memory_rw_debug(current_cpu, addr, data->data, in qemu_plugin_read_memory_vaddr() [all …]
|
| H A D | api-system.c | 54 CPUState *cpu = current_cpu; in qemu_plugin_get_hwaddr() 127 async_run_on_cpu(current_cpu, in qemu_plugin_update_ns()
|
| H A D | loader.c | 409 if (current_cpu) { in plugin_reset_uninstall() 410 async_safe_run_on_cpu(current_cpu, plugin_flush_destroy, in plugin_reset_uninstall()
|
| /openbmc/qemu/common-user/ |
| H A D | plugin-api.c.inc | 24 TaskState *ts = get_task_state(current_cpu); 30 TaskState *ts = get_task_state(current_cpu); 36 TaskState *ts = get_task_state(current_cpu); 42 TaskState *ts = get_task_state(current_cpu);
|
| /openbmc/qemu/ |
| H A D | cpu-common.c | 124 __thread CPUState *current_cpu; variable 161 CPUState *self_cpu = current_cpu; in do_run_on_cpu() 164 current_cpu = self_cpu; in do_run_on_cpu() 197 g_assert(!current_cpu->running); in start_exclusive() 199 if (current_cpu->exclusive_context_count) { in start_exclusive() 200 current_cpu->exclusive_context_count++; in start_exclusive() 231 current_cpu->exclusive_context_count = 1; in start_exclusive() 237 current_cpu->exclusive_context_count--; in end_exclusive() 238 if (current_cpu->exclusive_context_count) { in end_exclusive()
|
| /openbmc/qemu/hw/i386/ |
| H A D | vmport.c | 97 CPUState *cs = current_cpu; in vmport_ioport_read() 149 X86CPU *cpu = X86_CPU(current_cpu); in vmport_ioport_write() 159 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_version() 173 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_bios_uuid() 185 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_ram_size() 196 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_hz() 214 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_vcpu_info()
|
| H A D | x86-cpu.c | 91 if (current_cpu) { in cpu_get_current_apic() 92 X86CPU *cpu = X86_CPU(current_cpu); in cpu_get_current_apic()
|
| H A D | vmmouse.c | 77 X86CPU *cpu = X86_CPU(current_cpu); in vmmouse_get_data() 87 X86CPU *cpu = X86_CPU(current_cpu); in vmmouse_set_data()
|
| /openbmc/qemu/system/ |
| H A D | cpus.c | 380 if (current_cpu) { in sigbus_handler() 382 if (kvm_on_sigbus_vcpu(current_cpu, siginfo->si_code, siginfo->si_addr)) { in sigbus_handler() 504 assert(current_cpu); in qemu_cpu_kick_self() 505 cpus_kick_thread(current_cpu); in qemu_cpu_kick_self() 515 return current_cpu && qemu_cpu_is_self(current_cpu); in qemu_in_vcpu_thread() 718 if (current_cpu) { in cpu_stop_current() 719 current_cpu->stop = true; in cpu_stop_current() 720 cpu_exit(current_cpu); in cpu_stop_current()
|
| /openbmc/qemu/hw/ppc/ |
| H A D | pnv_xscom.c | 167 xscom_complete(current_cpu, HMER_XSCOM_FAIL | HMER_XSCOM_DONE); in xscom_read() 172 xscom_complete(current_cpu, HMER_XSCOM_DONE); in xscom_read() 194 xscom_complete(current_cpu, HMER_XSCOM_FAIL | HMER_XSCOM_DONE); in xscom_write() 199 xscom_complete(current_cpu, HMER_XSCOM_DONE); in xscom_write()
|
| H A D | mpc8544_guts.c | 79 CPUPPCState *env = cpu_env(current_cpu); in mpc8544_guts_read()
|
| /openbmc/qemu/hw/misc/ |
| H A D | mips_itu.c | 185 c->blocked_threads |= 1ULL << current_cpu->cpu_index; in block_thread_and_exit() 186 current_cpu->halted = 1; in block_thread_and_exit() 187 current_cpu->exception_index = EXCP_HLT; in block_thread_and_exit() 188 cpu_loop_exit_restore(current_cpu, current_cpu->mem_io_pc); in block_thread_and_exit() 372 current_cpu->exception_index = excp; in raise_exception() 373 cpu_loop_exit(current_cpu); in raise_exception()
|
| H A D | mips_cmgcr.c | 76 MIPSGCRVPState *current_vps = &gcr->vps[current_cpu->cpu_index]; in gcr_read() 130 MIPSGCRVPState *current_vps = &gcr->vps[current_cpu->cpu_index]; in gcr_write() 145 cpu_set_exception_base(current_cpu->cpu_index, in gcr_write()
|
| /openbmc/qemu/accel/tcg/ |
| H A D | icount-common.c | 109 CPUState *cpu = current_cpu; in icount_get_raw_locked() 499 if (current_cpu) { in icount_notify_exit() 500 qemu_cpu_kick(current_cpu); in icount_notify_exit()
|
| H A D | tcg-accel-ops-rr.c | 205 current_cpu = cpu; in rr_cpu_thread_fn() 249 current_cpu = cpu; in rr_cpu_thread_fn()
|
| H A D | tcg-accel-ops-mttcg.c | 83 current_cpu = cpu; in mttcg_cpu_thread_fn()
|
| /openbmc/qemu/include/system/ |
| H A D | dump.h | 79 uint32_t current_cpu; /* CPU# which handles dump */ member 97 uint32_t current_cpu; /* CPU# which handles dump */ member
|
| /openbmc/qemu/include/qemu/ |
| H A D | plugin.h | 223 assert(current_cpu); in qemu_plugin_get_cb_flags() 224 return current_cpu->neg.plugin_cb_flags; in qemu_plugin_get_cb_flags()
|
| /openbmc/qemu/accel/ |
| H A D | dummy-cpus.c | 31 current_cpu = cpu; in dummy_cpu_thread_fn()
|
| /openbmc/qemu/hw/timer/ |
| H A D | a9gtimer.c | 56 if (current_cpu->cpu_index >= s->num_cpu) { in a9_gtimer_get_current_cpu() 58 s->num_cpu, current_cpu->cpu_index); in a9_gtimer_get_current_cpu() 60 return current_cpu->cpu_index; in a9_gtimer_get_current_cpu()
|
| H A D | arm_mptimer.c | 46 int cpu_id = current_cpu ? current_cpu->cpu_index : 0; in get_current_cpu()
|
| /openbmc/qemu/target/i386/nvmm/ |
| H A D | nvmm-accel-ops.c | 32 current_cpu = cpu; in qemu_nvmm_cpu_thread_fn()
|
| /openbmc/qemu/target/i386/whpx/ |
| H A D | whpx-accel-ops.c | 32 current_cpu = cpu; in whpx_cpu_thread_fn()
|
| /openbmc/qemu/accel/kvm/ |
| H A D | kvm-accel-ops.c | 40 current_cpu = cpu; in kvm_vcpu_thread_fn()
|
| /openbmc/qemu/hw/i386/xen/ |
| H A D | xen-hvm.c | 496 cpu = X86_CPU(current_cpu); in regs_to_cpu() 508 X86CPU *cpu = X86_CPU(current_cpu); in regs_from_cpu() 527 current_cpu = state->cpu_by_vcpu_id[state->send_vcpu]; in handle_vmport_ioreq() 531 current_cpu = NULL; in handle_vmport_ioreq()
|