Home
last modified time | relevance | path

Searched refs:hax_global (Results 1 – 4 of 4) sorted by relevance

/external/qemu/target-i386/
Dhax-darwin.c40 if (!hax_global.vm || !hax_global.vm->fd) in hax_populate_ram()
48 ret = ioctl(hax_global.vm->fd, HAX_VM_IOCTL_ALLOC_RAM, &info); in hax_populate_ram()
79 ret = ioctl(hax_global.vm->fd, HAX_VM_IOCTL_SET_RAM, pinfo); in hax_set_phys_mem()
Dhax-all.c31 struct hax_state hax_global; variable
179 if (!hax_global.vm) in hax_vcpu_create()
185 if (hax_global.vm->vcpus[id]) in hax_vcpu_create()
200 ret = hax_host_create_vcpu(hax_global.vm->fd, id); in hax_vcpu_create()
207 vcpu->fd = hax_host_open_vcpu(hax_global.vm->id, id); in hax_vcpu_create()
215 hax_global.vm->vcpus[id] = vcpu; in hax_vcpu_create()
231 hax_global.vm->vcpus[id] = NULL; in hax_vcpu_create()
240 if (!hax_global.vm) in hax_vcpu_destroy()
254 hax_global.vm->vcpus[vcpu->vcpu_id] = NULL; in hax_vcpu_destroy()
270 env->hax_vcpu = hax_global.vm->vcpus[env->cpu_index]; in hax_init_vcpu()
[all …]
Dhax-windows.c69 if (!hax_global.vm || !hax_global.vm->fd) in hax_populate_ram()
78 hDeviceVM = hax_global.vm->fd; in hax_populate_ram()
121 hDeviceVM = hax_global.vm->fd; in hax_set_phys_mem()
Dhax-i386.h28 extern struct hax_state hax_global;