Home
last modified time | relevance | path

Searched refs:vm_set_register (Results 1 – 23 of 23) sorted by relevance

/freebsd/usr.sbin/bhyve/riscv/
H A Dvmexit.c202 error = vm_set_register(newvcpu, VM_REG_GUEST_A0, hart_id); in vmexit_ecall_hsm()
206 error = vm_set_register(newvcpu, VM_REG_GUEST_SEPC, in vmexit_ecall_hsm()
211 error = vm_set_register(newvcpu, VM_REG_GUEST_A1, in vmexit_ecall_hsm()
273 error = vm_set_register(vcpu, VM_REG_GUEST_A1, val); in vmexit_ecall_base()
338 error = vm_set_register(vcpu, VM_REG_GUEST_A0, ret); in vmexit_ecall()
H A Dbhyverun_machdep.c208 error = vm_set_register(vcpu, VM_REG_GUEST_A0, vcpu_id(vcpu)); in bhyve_start_vcpu()
335 error = vm_set_register(bsp, VM_REG_GUEST_SEPC, elr); in bhyve_init_platform()
352 error = vm_set_register(bsp, VM_REG_GUEST_A1, fdt_gpa); in bhyve_init_platform()
/freebsd/usr.sbin/bhyve/amd64/
H A Dspinup_ap.c56 error = vm_set_register(newcpu, VM_REG_GUEST_RIP, 0); in spinup_ap_realmode()
69 error = vm_set_register(newcpu, VM_REG_GUEST_CS, cs); in spinup_ap_realmode()
H A Dvmexit.c122 error = vm_set_register(vcpu, VM_REG_GUEST_RAX, eax); in vmexit_rdmsr()
126 error = vm_set_register(vcpu, VM_REG_GUEST_RDX, edx); in vmexit_rdmsr()
372 if (vm_set_register(vcpu, VM_REG_GUEST_RIP, in vmexit_inst_emul()
H A Dinout.c226 error = vm_set_register(vcpu, VM_REG_GUEST_RAX, in emulate_inout()
H A Dtask_switch.c115 error = vm_set_register(vcpu, reg, val); in SETREG()
880 error = vm_set_register(vcpu, VM_REG_GUEST_RIP, newtss.tss_eip); in vmexit_task_switch()
/freebsd/sys/riscv/vmm/
H A Dvmm_instruction_emul.c73 error = vm_set_register(vcpu, vie->reg, val); in vmm_emulate_instruction()
99 error = vm_set_register(vcpu, vre->reg, val); in vmm_emulate_register()
H A Dvmm.c479 vm_set_register(struct vcpu *vcpu, int reg, uint64_t val) in vm_set_register() function
/freebsd/usr.sbin/bhyve/aarch64/
H A Dvmexit.c233 error = vm_set_register(newvcpu, VM_REG_GUEST_X0, in vmexit_smccc()
238 error = vm_set_register(newvcpu, VM_REG_GUEST_PC, in vmexit_smccc()
263 error = vm_set_register(vcpu, VM_REG_GUEST_X0, smccc_rv); in vmexit_smccc()
H A Dbhyverun_machdep.c409 error = vm_set_register(bsp, VM_REG_GUEST_PC, elr); in bhyve_init_platform()
452 error = vm_set_register(bsp, VM_REG_GUEST_X0, fdt_gpa(ctx)); in bhyve_init_platform_late()
/freebsd/usr.sbin/bhyveload/
H A Dbhyveload.c447 error = vm_set_register(vcpu, vmreg, v); in cb_setreg()
475 error = vm_set_register(vcpu, vmreg, v); in cb_setmsr()
510 error = vm_set_register(vcpu, vmreg, v); in cb_setcr()
621 return (vm_set_register(vcpu, reg, val)); in cb_vm_set_register()
698 .vm_set_register = cb_vm_set_register,
/freebsd/stand/userboot/
H A Duserboot.h227 int (*vm_set_register)(void *arg, int vcpu, int reg, uint64_t val); member
/freebsd/sys/amd64/vmm/
H A Dvmm_ioport.c139 error = vm_set_register(vcpu, VM_REG_GUEST_RAX, in emulate_inout_port()
H A Dvmm.c612 vm_set_register(struct vcpu *vcpu, int reg, uint64_t val) in vm_set_register() function
1492 error = vm_set_register(vcpu, VM_REG_GUEST_INTR_SHADOW, 0); in vm_inject_exception()
1527 error = vm_set_register(vcpu, VM_REG_GUEST_CR2, cr2); in vm_inject_pf()
H A Dvmm_instruction_emul.c360 error = vm_set_register(vcpu, reg, val); in vie_write_bytereg()
390 error = vm_set_register(vcpu, reg, val); in vie_update_register()
/freebsd/sys/riscv/include/
H A Dvmm.h159 int vm_set_register(struct vcpu *vcpu, int reg, uint64_t val);
/freebsd/sys/arm64/include/
H A Dvmm.h180 int vm_set_register(struct vcpu *vcpu, int reg, uint64_t val);
/freebsd/lib/libvmmapi/
H A Dvmmapi.h155 int vm_set_register(struct vcpu *vcpu, int reg, uint64_t val);
H A Dvmmapi.c752 vm_set_register(struct vcpu *vcpu, int reg, uint64_t val) in vm_set_register() function
/freebsd/sys/amd64/include/
H A Dvmm.h238 int vm_set_register(struct vcpu *vcpu, int reg, uint64_t val);
/freebsd/sys/dev/vmm/
H A Dvmm_dev.c358 error = vm_set_register(vcpu, regnum[i], regval[i]); in vm_set_register_set()
642 error = vm_set_register(vcpu, vmreg->regnum, vmreg->regval); in vmmdev_ioctl()
/freebsd/usr.sbin/bhyve/
H A Dgdb.c1121 vm_set_register(vcpu, GDB_PC_REGNAME, guest_pc(vmexit)); in gdb_cpu_breakpoint()
1146 error = vm_set_register(vcpu, VM_REG_GUEST_ENTRY_INST_LENGTH, in gdb_cpu_breakpoint()
/freebsd/sys/arm64/vmm/
H A Dvmm.c804 vm_set_register(struct vcpu *vcpu, int reg, uint64_t val) in vm_set_register() function