Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/hyperv/
Dhv_init.c267 union hv_x64_msr_hypercall_contents hypercall_msr; in hyperv_init() local
325 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
326 hypercall_msr.enable = 1; in hyperv_init()
327 hypercall_msr.guest_physical_address = vmalloc_to_pfn(hv_hypercall_pg); in hyperv_init()
328 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_init()
385 union hv_x64_msr_hypercall_contents hypercall_msr; in hyperv_cleanup() local
391 hypercall_msr.as_uint64 = 0; in hyperv_cleanup()
392 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); in hyperv_cleanup()
395 hypercall_msr.as_uint64 = 0; in hyperv_cleanup()
396 wrmsrl(HV_X64_MSR_REFERENCE_TSC, hypercall_msr.as_uint64); in hyperv_cleanup()
[all …]