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

/freebsd-10-stable/lib/libvmmapi/
H A Dvmmapi_freebsd.c90 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CR0, cr0)) != 0)
93 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CR4, 0)) != 0)
100 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_EFER, 0)))
119 error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_RFLAGS, rflags);
170 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CS, gsel)) != 0)
174 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_DS, gsel)) != 0)
177 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_ES, gsel)) != 0)
180 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_FS, gsel)) != 0)
183 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_GS, gsel)) != 0)
186 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
1005 error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_RFLAGS, rflags);
1010 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_RIP, rip)) != 0)
1014 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CR0, cr0)) != 0)
1017 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CR3, zero)) != 0)
1021 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CR4, cr4)) != 0)
1036 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_CS, sel)) != 0)
1071 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_SS, sel)) != 0)
1073 if ((error = vm_set_register(vmctx, vcpu, VM_REG_GUEST_DS, sel)) != 0)
1075 if ((error = vm_set_register(vmct
[all...]
H A Dvmmapi.h125 int vm_set_register(struct vmctx *ctx, int vcpu, int reg, uint64_t val);
/freebsd-10-stable/usr.sbin/bhyve/
H A Dspinup_ap.c60 error = vm_set_register(ctx, newcpu, VM_REG_GUEST_RIP, *rip);
73 error = vm_set_register(ctx, newcpu, VM_REG_GUEST_CS, cs);
H A Dbhyverun.c360 error = vm_set_register(ctx, *pvcpu, VM_REG_GUEST_RAX, eax);
364 error = vm_set_register(ctx, *pvcpu, VM_REG_GUEST_RDX, edx);
612 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_RIP, startrip);
H A Dinout.c228 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_RAX,
H A Dtask_switch.c116 error = vm_set_register(ctx, vcpu, reg, val);
878 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_RIP, newtss.tss_eip);
/freebsd-10-stable/usr.sbin/bhyvectl/
H A Dbhyvectl.c513 return (vm_set_register(ctx, vcpu, VMCS_IDENT(field), val));
529 return (vm_set_register(ctx, vcpu, VMCB_ACCESS(off, bytes), val));
1786 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_EFER, efer);
1789 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_CR0, cr0);
1792 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_CR3, cr3);
1795 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_CR4, cr4);
1798 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_DR7, dr7);
1801 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_RSP, rsp);
1804 error = vm_set_register(ctx, vcpu, VM_REG_GUEST_RIP, rip);
1807 error = vm_set_register(ct
[all...]
/freebsd-10-stable/sys/amd64/vmm/
H A Dvmm_ioport.c139 error = vm_set_register(vm, vcpuid, VM_REG_GUEST_RAX,
H A Dvmm.c971 vm_set_register(struct vm *vm, int vcpuid, int reg, uint64_t val) function
1983 error = vm_set_register(vm, vcpuid, VM_REG_GUEST_INTR_SHADOW, 0);
2023 error = vm_set_register(vm, vcpuid, VM_REG_GUEST_CR2, cr2);
2024 KASSERT(error == 0, ("vm_set_register(cr2) error %d", error));
H A Dvmm_instruction_emul.c331 error = vm_set_register(vm, vcpuid, reg, val);
361 error = vm_set_register(vm, vcpuid, reg, val);
H A Dvmm_dev.c532 error = vm_set_register(sc->vm, vmreg->cpuid, vmreg->regnum,
/freebsd-10-stable/usr.sbin/bhyveload/
H A Dbhyveload.c384 error = vm_set_register(ctx, BSP, vmreg, v);
386 perror("vm_set_register");
412 error = vm_set_register(ctx, BSP, vmreg, v);
447 error = vm_set_register(ctx, BSP, vmreg, v);
/freebsd-10-stable/sys/amd64/include/
H A Dvmm.h205 int vm_set_register(struct vm *vm, int vcpu, int reg, uint64_t val);

Completed in 201 milliseconds