| /freebsd/usr.sbin/bhyve/riscv/ |
| H A D | vmexit.c | 202 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 D | bhyverun_machdep.c | 208 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 D | spinup_ap.c | 56 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 D | vmexit.c | 122 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 D | inout.c | 226 error = vm_set_register(vcpu, VM_REG_GUEST_RAX, in emulate_inout()
|
| H A D | task_switch.c | 115 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 D | vmm_instruction_emul.c | 73 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 D | vmm.c | 479 vm_set_register(struct vcpu *vcpu, int reg, uint64_t val) in vm_set_register() function
|
| /freebsd/usr.sbin/bhyve/aarch64/ |
| H A D | vmexit.c | 233 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 D | bhyverun_machdep.c | 409 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 D | bhyveload.c | 447 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 D | userboot.h | 227 int (*vm_set_register)(void *arg, int vcpu, int reg, uint64_t val); member
|
| /freebsd/sys/amd64/vmm/ |
| H A D | vmm_ioport.c | 139 error = vm_set_register(vcpu, VM_REG_GUEST_RAX, in emulate_inout_port()
|
| H A D | vmm.c | 612 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 D | vmm_instruction_emul.c | 360 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 D | vmm.h | 159 int vm_set_register(struct vcpu *vcpu, int reg, uint64_t val);
|
| /freebsd/sys/arm64/include/ |
| H A D | vmm.h | 180 int vm_set_register(struct vcpu *vcpu, int reg, uint64_t val);
|
| /freebsd/lib/libvmmapi/ |
| H A D | vmmapi.h | 155 int vm_set_register(struct vcpu *vcpu, int reg, uint64_t val);
|
| H A D | vmmapi.c | 752 vm_set_register(struct vcpu *vcpu, int reg, uint64_t val) in vm_set_register() function
|
| /freebsd/sys/amd64/include/ |
| H A D | vmm.h | 238 int vm_set_register(struct vcpu *vcpu, int reg, uint64_t val);
|
| /freebsd/sys/dev/vmm/ |
| H A D | vmm_dev.c | 358 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 D | gdb.c | 1121 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 D | vmm.c | 804 vm_set_register(struct vcpu *vcpu, int reg, uint64_t val) in vm_set_register() function
|