• Home
  • Raw
  • Download

Lines Matching refs:pv_cpu_ops

75 struct pv_cpu_ops {  struct
252 struct pv_cpu_ops pv_cpu_ops; member
261 extern struct pv_cpu_ops pv_cpu_ops;
455 PVOP_VCALL2(pv_cpu_ops.load_esp0, tss, thread); in load_esp0()
478 PVOP_VCALL4(pv_cpu_ops.cpuid, eax, ebx, ecx, edx); in __cpuid()
486 return PVOP_CALL1(unsigned long, pv_cpu_ops.get_debugreg, reg); in paravirt_get_debugreg()
491 PVOP_VCALL2(pv_cpu_ops.set_debugreg, reg, val); in set_debugreg()
496 PVOP_VCALL0(pv_cpu_ops.clts); in clts()
501 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr0); in read_cr0()
506 PVOP_VCALL1(pv_cpu_ops.write_cr0, x); in write_cr0()
531 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr4); in read_cr4()
535 return PVOP_CALL0(unsigned long, pv_cpu_ops.read_cr4_safe); in read_cr4_safe()
540 PVOP_VCALL1(pv_cpu_ops.write_cr4, x); in write_cr4()
555 PVOP_VCALL0(pv_cpu_ops.wbinvd); in wbinvd()
562 return PVOP_CALL2(u64, pv_cpu_ops.read_msr, msr, err); in paravirt_read_msr()
566 return PVOP_CALL3(int, pv_cpu_ops.write_msr, msr, low, high); in paravirt_write_msr()
600 return PVOP_CALL0(u64, pv_cpu_ops.read_tsc); in paravirt_read_tsc()
620 return PVOP_CALL1(u64, pv_cpu_ops.read_pmc, counter); in paravirt_read_pmc()
631 PVOP_VCALL0(pv_cpu_ops.load_tr_desc); in load_TR_desc()
635 PVOP_VCALL1(pv_cpu_ops.load_gdt, dtr); in load_gdt()
639 PVOP_VCALL1(pv_cpu_ops.load_idt, dtr); in load_idt()
643 PVOP_VCALL2(pv_cpu_ops.set_ldt, addr, entries); in set_ldt()
647 PVOP_VCALL1(pv_cpu_ops.store_gdt, dtr); in store_gdt()
651 PVOP_VCALL1(pv_cpu_ops.store_idt, dtr); in store_idt()
655 return PVOP_CALL0(unsigned long, pv_cpu_ops.store_tr); in paravirt_store_tr()
660 PVOP_VCALL2(pv_cpu_ops.load_tls, t, cpu); in load_TLS()
664 PVOP_VCALL4(pv_cpu_ops.write_ldt_entry, dt, entry, low, high); in write_ldt_entry()
668 PVOP_VCALL4(pv_cpu_ops.write_gdt_entry, dt, entry, low, high); in write_gdt_entry()
672 PVOP_VCALL4(pv_cpu_ops.write_idt_entry, dt, entry, low, high); in write_idt_entry()
676 PVOP_VCALL1(pv_cpu_ops.set_iopl_mask, mask); in set_iopl_mask()
681 pv_cpu_ops.io_delay(); in slow_down_io()
683 pv_cpu_ops.io_delay(); in slow_down_io()
684 pv_cpu_ops.io_delay(); in slow_down_io()
685 pv_cpu_ops.io_delay(); in slow_down_io()
967 PVOP_VCALL0(pv_cpu_ops.lazy_mode.enter); in arch_enter_lazy_cpu_mode()
972 PVOP_VCALL0(pv_cpu_ops.lazy_mode.leave); in arch_leave_lazy_cpu_mode()
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; \