Home | History | Annotate | Download | only in qemu

Lines Matching refs:cpu

26 #include "cpu.h"
29 #include "cpu.h"
46 CPUState *cpu;
52 CPU_FOREACH(cpu) {
53 fprintf(stderr, "CPU #%d:\n", cpu->cpu_index);
55 cpu_dump_state(cpu->env_ptr, stderr, fprintf, X86_DUMP_FPU);
57 cpu_dump_state(cpu->env_ptr, stderr, fprintf, 0);
76 CPUState *cpu = ENV_GET_CPU(env);
77 if (cpu->stop)
79 if (cpu->stopped)
86 CPUState *cpu;
88 CPU_FOREACH(cpu) {
89 if (cpu->stop)
91 if (cpu->stopped)
93 if (!cpu->halted)
95 if (cpu_has_work(cpu))
102 void qemu_init_vcpu(CPUState *cpu)
105 kvm_init_vcpu(cpu);
108 hax_init_vcpu(cpu);
113 bool qemu_cpu_is_self(CPUState *cpu)
126 void qemu_cpu_kick(CPUState *cpu)
138 CPUState *cpu = current_cpu;
140 if (cpu) {
141 cpu_exit(cpu);
153 hax_raise_event(cpu);
297 /* Return the virtual CPU time, based on the instruction counter. */
313 /* return the host CPU cycle counter and handle stop/restart */
334 /* return the host CPU monotonic timer and handle stop/restart */