Searched refs:vm_set_register (Results 1 - 16 of 16) sorted by relevance

/freebsd-12-stable/lib/libvmmapi/
H A Dvmmapi_freebsd.c92 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CR0, cr0)) != 0)
95 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CR4, 0)) != 0)
102 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_EFER, 0)))
121 error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_RFLAGS, rflags);
172 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CS, gsel)) != 0)
176 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_DS, gsel)) != 0)
179 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_ES, gsel)) != 0)
182 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_FS, gsel)) != 0)
185 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_GS, gsel)) != 0)
188 if ((error = vm_set_register(vmct
[all...]
H A Dvmmapi.c560 vm_set_register(struct vmctx *ctx, int vcpu, int reg, uint64_t val) function
1045 error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_RFLAGS, rflags);
1050 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_RIP, rip)) != 0)
1054 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CR0, cr0)) != 0)
1057 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CR3, zero)) != 0)
1061 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CR4, cr4)) != 0)
1076 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CS, sel)) != 0)
1111 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_SS, sel)) != 0)
1113 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_DS, sel)) != 0)
1115 if ((error = vm_set_register(vmct
[all...]
H A Dvmmapi.h131 int vm_set_register(struct vmctx *ctx, int vcpu, int reg, uint64_t val);
/freebsd-12-stable/usr.sbin/bhyve/
H A Dspinup_ap.c62 error = vm_set_register(ctx, newcpu, VM_REG_GUEST_RIP, *rip);
75 error = vm_set_register(ctx, newcpu, VM_REG_GUEST_CS, cs);
H A Dinout.c230 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_RAX,
H A Dbhyverun.c544 error = vm_set_register(ctx, *pvcpu, VM_REG_GUEST_RAX, eax);
548 error = vm_set_register(ctx, *pvcpu, VM_REG_GUEST_RDX, edx);
838 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_RIP, startrip);
H A Dtask_switch.c119 error = vm_set_register(ctx, vcpu, reg, val);
881 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_RIP, newtss.tss_eip);
H A Dgdb.c881 vm_set_register(ctx, vcpu, VM_REG_GUEST_RIP, vmexit->rip);
905 error = vm_set_register(ctx, vcpu,
/freebsd-12-stable/stand/userboot/
H A Duserboot.h216 int (*vm_set_register)(void *arg, int vcpu, int reg, uint64_t val); member in struct:loader_callbacks
/freebsd-12-stable/usr.sbin/bhyvectl/
H A Dbhyvectl.c1861 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_EFER, efer);
1864 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_CR0, cr0);
1867 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_CR2, cr2);
1870 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_CR3, cr3);
1873 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_CR4, cr4);
1876 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_DR0, dr0);
1879 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_DR1, dr1);
1882 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_DR2, dr2);
1885 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_DR3, dr3);
1888 error = vm_set_register(ct
[all...]
/freebsd-12-stable/usr.sbin/bhyveload/
H A Dbhyveload.c398 error = vm_set_register(ctx, BSP, vmreg, v);
400 perror("vm_set_register");
426 error = vm_set_register(ctx, BSP, vmreg, v);
461 error = vm_set_register(ctx, BSP, vmreg, v);
565 return (vm_set_register(ctx, vcpu, reg, val));
631 .vm_set_register = cb_vm_set_register,
/freebsd-12-stable/sys/amd64/vmm/
H A Dvmm_ioport.c141 error = vm_set_register(vm, vcpuid, VM_REG_GUEST_RAX,
H A Dvmm_dev.c334 error = vm_set_register(vm, vcpu, regnum[i], regval[i]);
606 error = vm_set_register(sc->vm, vmreg->cpuid, vmreg->regnum,
H A Dvmm.c1023 vm_set_register(struct vm *vm, int vcpuid, int reg, uint64_t val) function
2063 error = vm_set_register(vm, vcpuid, VM_REG_GUEST_INTR_SHADOW, 0);
2103 error = vm_set_register(vm, vcpuid, VM_REG_GUEST_CR2, cr2);
2104 KASSERT(error == 0, ("vm_set_register(cr2) error %d", error));
H A Dvmm_instruction_emul.c354 error = vm_set_register(vm, vcpuid, reg, val);
384 error = vm_set_register(vm, vcpuid, reg, val);
/freebsd-12-stable/sys/amd64/include/
H A Dvmm.h224 int vm_set_register(struct vm *vm, int vcpu, int reg, uint64_t val);

Completed in 1394 milliseconds