Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
pv_cpu_ops Struct Reference

#include <paravirt_types.h>

Data Fields

unsigned long(* get_debugreg )(int regno)
 
void(* set_debugreg )(int regno, unsigned long value)
 
void(* clts )(void)
 
unsigned long(* read_cr0 )(void)
 
void(* write_cr0 )(unsigned long)
 
unsigned long(* read_cr4_safe )(void)
 
unsigned long(* read_cr4 )(void)
 
void(* write_cr4 )(unsigned long)
 
void(* load_tr_desc )(void)
 
void(* load_gdt )(const struct desc_ptr *)
 
void(* load_idt )(const struct desc_ptr *)
 
void(* store_gdt )(struct desc_ptr *)
 
void(* store_idt )(struct desc_ptr *)
 
void(* set_ldt )(const void *desc, unsigned entries)
 
unsigned long(* store_tr )(void)
 
void(* load_tls )(struct thread_struct *t, unsigned int cpu)
 
void(* write_ldt_entry )(struct desc_struct *ldt, int entrynum, const void *desc)
 
void(* write_gdt_entry )(struct desc_struct *, int entrynum, const void *desc, int size)
 
void(* write_idt_entry )(gate_desc *, int entrynum, const gate_desc *gate)
 
void(* alloc_ldt )(struct desc_struct *ldt, unsigned entries)
 
void(* free_ldt )(struct desc_struct *ldt, unsigned entries)
 
void(* load_sp0 )(struct tss_struct *tss, struct thread_struct *t)
 
void(* set_iopl_mask )(unsigned mask)
 
void(* wbinvd )(void)
 
void(* io_delay )(void)
 
void(* cpuid )(unsigned int *eax, unsigned int *ebx, unsigned int *ecx, unsigned int *edx)
 
u64(* read_msr )(unsigned int msr, int *err)
 
int(* write_msr )(unsigned int msr, unsigned low, unsigned high)
 
u64(* read_tsc )(void)
 
u64(* read_pmc )(int counter)
 
unsigned long long(* read_tscp )(unsigned int *aux)
 
void(* irq_enable_sysexit )(void)
 
void(* usergs_sysret64 )(void)
 
void(* usergs_sysret32 )(void)
 
void(* iret )(void)
 
void(* swapgs )(void)
 
void(* start_context_switch )(struct task_struct *prev)
 
void(* end_context_switch )(struct task_struct *next)
 

Detailed Description

Definition at line 102 of file paravirt_types.h.

Field Documentation

void(* alloc_ldt)(struct desc_struct *ldt, unsigned entries)

Definition at line 139 of file paravirt_types.h.

void(* clts)(void)

Definition at line 107 of file paravirt_types.h.

void(* cpuid)(unsigned int *eax, unsigned int *ebx, unsigned int *ecx, unsigned int *edx)

Definition at line 150 of file paravirt_types.h.

void(* end_context_switch)(struct task_struct *next)

Definition at line 193 of file paravirt_types.h.

void(* free_ldt)(struct desc_struct *ldt, unsigned entries)

Definition at line 140 of file paravirt_types.h.

unsigned long(* get_debugreg)(int regno)

Definition at line 104 of file paravirt_types.h.

void(* io_delay)(void)

Definition at line 147 of file paravirt_types.h.

void(* iret)(void)

Definition at line 188 of file paravirt_types.h.

void(* irq_enable_sysexit)(void)

Definition at line 168 of file paravirt_types.h.

void(* load_gdt)(const struct desc_ptr *)

Definition at line 123 of file paravirt_types.h.

void(* load_idt)(const struct desc_ptr *)

Definition at line 124 of file paravirt_types.h.

Definition at line 142 of file paravirt_types.h.

void(* load_tls)(struct thread_struct *t, unsigned int cpu)

Definition at line 129 of file paravirt_types.h.

void(* load_tr_desc)(void)

Definition at line 122 of file paravirt_types.h.

unsigned long(* read_cr0)(void)

Definition at line 109 of file paravirt_types.h.

unsigned long(* read_cr4)(void)

Definition at line 113 of file paravirt_types.h.

unsigned long(* read_cr4_safe)(void)

Definition at line 112 of file paravirt_types.h.

u64(* read_msr)(unsigned int msr, int *err)

Definition at line 155 of file paravirt_types.h.

u64(* read_pmc)(int counter)

Definition at line 159 of file paravirt_types.h.

u64(* read_tsc)(void)

Definition at line 158 of file paravirt_types.h.

unsigned long long(* read_tscp)(unsigned int *aux)

Definition at line 160 of file paravirt_types.h.

void(* set_debugreg)(int regno, unsigned long value)

Definition at line 105 of file paravirt_types.h.

void(* set_iopl_mask)(unsigned mask)

Definition at line 144 of file paravirt_types.h.

void(* set_ldt)(const void *desc, unsigned entries)

Definition at line 127 of file paravirt_types.h.

void(* start_context_switch)(struct task_struct *prev)

Definition at line 192 of file paravirt_types.h.

void(* store_gdt)(struct desc_ptr *)

Definition at line 125 of file paravirt_types.h.

void(* store_idt)(struct desc_ptr *)

Definition at line 126 of file paravirt_types.h.

unsigned long(* store_tr)(void)

Definition at line 128 of file paravirt_types.h.

void(* swapgs)(void)

Definition at line 190 of file paravirt_types.h.

void(* usergs_sysret32)(void)

Definition at line 184 of file paravirt_types.h.

void(* usergs_sysret64)(void)

Definition at line 176 of file paravirt_types.h.

void(* wbinvd)(void)

Definition at line 146 of file paravirt_types.h.

void(* write_cr0)(unsigned long)

Definition at line 110 of file paravirt_types.h.

void(* write_cr4)(unsigned long)

Definition at line 114 of file paravirt_types.h.

void(* write_gdt_entry)(struct desc_struct *, int entrynum, const void *desc, int size)

Definition at line 135 of file paravirt_types.h.

void(* write_idt_entry)(gate_desc *, int entrynum, const gate_desc *gate)

Definition at line 137 of file paravirt_types.h.

void(* write_ldt_entry)(struct desc_struct *ldt, int entrynum, const void *desc)

Definition at line 133 of file paravirt_types.h.

int(* write_msr)(unsigned int msr, unsigned low, unsigned high)

Definition at line 156 of file paravirt_types.h.


The documentation for this struct was generated from the following file: