Lines Matching refs:pv_cpu_ops
24 PVOP_VCALL2(pv_cpu_ops.load_sp0, tss, thread);
31 PVOP_VCALL4(pv_cpu_ops.cpuid, eax, ebx, ecx, edx);
39 return PVOP_CALL1(unsigned long, pv_cpu_ops.get_debugreg, reg);
44 PVOP_VCALL2(pv_cpu_ops.set_debugreg, reg, val);
49 PVOP_VCALL0(pv_cpu_ops.clts);
54 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr0);
59 PVOP_VCALL1(pv_cpu_ops.write_cr0, x);
84 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr4);
88 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr4_safe);
93 PVOP_VCALL1(pv_cpu_ops.write_cr4, x);
99 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr8);
104 PVOP_VCALL1(pv_cpu_ops.write_cr8, x);
120 PVOP_VCALL0(pv_cpu_ops.wbinvd);
127 return PVOP_CALL2(u64, pv_cpu_ops.read_msr, msr, err);
132 return PVOP_CALL1(int, pv_cpu_ops.rdmsr_regs, regs);
137 return PVOP_CALL3(int, pv_cpu_ops.write_msr, msr, low, high);
142 return PVOP_CALL1(int, pv_cpu_ops.wrmsr_regs, regs);
217 return PVOP_CALL0(u64, pv_cpu_ops.read_tsc);
235 return PVOP_CALL1(u64, pv_cpu_ops.read_pmc, counter);
247 return PVOP_CALL1(u64, pv_cpu_ops.read_tscp, aux);
268 PVOP_VCALL2(pv_cpu_ops.alloc_ldt, ldt, entries);
273 PVOP_VCALL2(pv_cpu_ops.free_ldt, ldt, entries);
278 PVOP_VCALL0(pv_cpu_ops.load_tr_desc);
282 PVOP_VCALL1(pv_cpu_ops.load_gdt, dtr);
286 PVOP_VCALL1(pv_cpu_ops.load_idt, dtr);
290 PVOP_VCALL2(pv_cpu_ops.set_ldt, addr, entries);
294 PVOP_VCALL1(pv_cpu_ops.store_gdt, dtr);
298 PVOP_VCALL1(pv_cpu_ops.store_idt, dtr);
302 return PVOP_CALL0(unsigned long, pv_cpu_ops.store_tr);
307 PVOP_VCALL2(pv_cpu_ops.load_tls, t, cpu);
313 PVOP_VCALL1(pv_cpu_ops.load_gs_index, gs);
320 PVOP_VCALL3(pv_cpu_ops.write_ldt_entry, dt, entry, desc);
326 PVOP_VCALL4(pv_cpu_ops.write_gdt_entry, dt, entry, desc, type);
331 PVOP_VCALL3(pv_cpu_ops.write_idt_entry, dt, entry, g);
335 PVOP_VCALL1(pv_cpu_ops.set_iopl_mask, mask);
341 pv_cpu_ops.io_delay();
343 pv_cpu_ops.io_delay();
344 pv_cpu_ops.io_delay();
345 pv_cpu_ops.io_delay();
696 PVOP_VCALL1(pv_cpu_ops.start_context_switch, prev);
701 PVOP_VCALL1(pv_cpu_ops.end_context_switch, next);
943 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_iret), CLBR_NONE, \
944 jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_iret))
959 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_usergs_sysret32), \
961 jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_usergs_sysret32))
966 call PARA_INDIRECT(pv_cpu_ops+PV_CPU_read_cr0); \
970 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_irq_enable_sysexit), \
972 jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_irq_enable_sysexit))
983 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_swapgs), CLBR_NONE, \
993 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_swapgs), CLBR_NONE, \
994 call PARA_INDIRECT(pv_cpu_ops+PV_CPU_swapgs) \
1008 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_usergs_sysret64), \
1010 jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_usergs_sysret64))
1013 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_irq_enable_sysexit), \
1015 jmp PARA_INDIRECT(pv_cpu_ops+PV_CPU_irq_enable_sysexit))