Home
last modified time | relevance | path

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

/linux/arch/x86/hyperv/
H A Dhv_crash.c57 struct hv_crash_ctxt { struct
80 static struct hv_crash_ctxt hv_crash_ctxt; argument
156 asm volatile("lgdt %0" : : "m" (hv_crash_ctxt.gdtr)); in hv_crash_c_entry()
160 :: "m"(hv_crash_ctxt.ss), "m"(hv_crash_ctxt.rsp)); in hv_crash_c_entry()
162 asm volatile("movw %0, %%ds" : : "m"(hv_crash_ctxt.ds)); in hv_crash_c_entry()
163 asm volatile("movw %0, %%es" : : "m"(hv_crash_ctxt.es)); in hv_crash_c_entry()
164 asm volatile("movw %0, %%fs" : : "m"(hv_crash_ctxt.fs)); in hv_crash_c_entry()
165 asm volatile("movw %0, %%gs" : : "m"(hv_crash_ctxt.gs)); in hv_crash_c_entry()
167 hv_wrmsr(MSR_IA32_CR_PAT, hv_crash_ctxt.pat); in hv_crash_c_entry()
168 asm volatile("movq %0, %%cr0" : : "r"(hv_crash_ctxt.cr0)); in hv_crash_c_entry()
[all …]