Home | History | Annotate | Download | only in asm-x86

Lines Matching full:pv_cpu_ops

75 struct pv_cpu_ops {
252 struct pv_cpu_ops pv_cpu_ops;
261 extern struct pv_cpu_ops pv_cpu_ops;
455 PVOP_VCALL2(pv_cpu_ops.load_esp0, tss, thread);
478 PVOP_VCALL4(pv_cpu_ops.cpuid, eax, ebx, ecx, edx);
486 return PVOP_CALL1(unsigned long, pv_cpu_ops.get_debugreg, reg);
491 PVOP_VCALL2(pv_cpu_ops.set_debugreg, reg, val);
496 PVOP_VCALL0(pv_cpu_ops.clts);
501 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr0);
506 PVOP_VCALL1(pv_cpu_ops.write_cr0, x);
531 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr4);
535 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr4_safe);
540 PVOP_VCALL1(pv_cpu_ops.write_cr4, x);
555 PVOP_VCALL0(pv_cpu_ops.wbinvd);
562 return PVOP_CALL2(u64, pv_cpu_ops.read_msr, msr, err);
566 return PVOP_CALL3(int, pv_cpu_ops.write_msr, msr, low, high);
600 return PVOP_CALL0(u64, pv_cpu_ops.read_tsc);
620 return PVOP_CALL1(u64, pv_cpu_ops.read_pmc, counter);
631 PVOP_VCALL0(pv_cpu_ops.load_tr_desc);
635 PVOP_VCALL1(pv_cpu_ops.load_gdt, dtr);
639 PVOP_VCALL1(pv_cpu_ops.load_idt, dtr);
643 PVOP_VCALL2(pv_cpu_ops.set_ldt, addr, entries);
647 PVOP_VCALL1(pv_cpu_ops.store_gdt, dtr);
651 PVOP_VCALL1(pv_cpu_ops.store_idt, dtr);
655 return PVOP_CALL0(unsigned long, pv_cpu_ops.store_tr);
660 PVOP_VCALL2(pv_cpu_ops.load_tls, t, cpu);
664 PVOP_VCALL4(pv_cpu_ops.write_ldt_entry, dt, entry, low, high);
668 PVOP_VCALL4(pv_cpu_ops.write_gdt_entry, dt, entry, low, high);
672 PVOP_VCALL4(pv_cpu_ops.write_idt_entry, dt, entry, low, high);
676 PVOP_VCALL1(pv_cpu_ops.set_iopl_mask, mask);
681 pv_cpu_ops.io_delay();
683 pv_cpu_ops.io_delay();
684 pv_cpu_ops.io_delay();
685 pv_cpu_ops.io_delay();
967 PVOP_VCALL0(pv_cpu_ops.lazy_mode.enter);
972 PVOP_VCALL0(pv_cpu_ops.lazy_mode.leave);
1126 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_iret), CLBR_NONE, \
1127 jmp *%cs:pv_cpu_ops+PV_CPU_iret)
1142 PARA_SITE(PARA_PATCH(pv_cpu_ops, PV_CPU_irq_enable_sysexit), CLBR_NONE,\
1143 jmp *%cs:pv_cpu_ops+PV_CPU_irq_enable_sysexit)
1147 call *pv_cpu_ops+PV_CPU_read_cr0; \