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

/linux-4.4.14/drivers/hv/
H A Dhv.c194 union hv_x64_msr_hypercall_contents hypercall_msr; hv_init() local
220 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); hv_init()
227 hypercall_msr.enable = 1; hv_init()
229 hypercall_msr.guest_physical_address = vmalloc_to_pfn(virtaddr); hv_init()
230 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); hv_init()
233 hypercall_msr.as_uint64 = 0; hv_init()
234 rdmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); hv_init()
236 if (!hypercall_msr.enable) hv_init()
261 if (hypercall_msr.enable) { hv_init()
262 hypercall_msr.as_uint64 = 0; hv_init()
263 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); hv_init()
279 union hv_x64_msr_hypercall_contents hypercall_msr; hv_cleanup() local
285 hypercall_msr.as_uint64 = 0; hv_cleanup()
286 wrmsrl(HV_X64_MSR_HYPERCALL, hypercall_msr.as_uint64); hv_cleanup()
299 hypercall_msr.as_uint64 = 0; hv_cleanup()
300 wrmsrl(HV_X64_MSR_REFERENCE_TSC, hypercall_msr.as_uint64); hv_cleanup()

Completed in 205 milliseconds