Home
last modified time | relevance | path

Searched refs:reset_cntx (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/riscv/kvm/
Dvcpu_sbi_hsm.c17 struct kvm_cpu_context *reset_cntx; in kvm_sbi_hsm_vcpu_start() local
35 reset_cntx = &target_vcpu->arch.guest_reset_context; in kvm_sbi_hsm_vcpu_start()
37 reset_cntx->sepc = cp->a1; in kvm_sbi_hsm_vcpu_start()
39 reset_cntx->a0 = target_vcpuid; in kvm_sbi_hsm_vcpu_start()
41 reset_cntx->a1 = cp->a2; in kvm_sbi_hsm_vcpu_start()
Dvcpu.c54 struct kvm_cpu_context *reset_cntx = &vcpu->arch.guest_reset_context; in kvm_riscv_reset_vcpu() local
72 memcpy(cntx, reset_cntx, sizeof(*cntx)); in kvm_riscv_reset_vcpu()