Home
last modified time | relevance | path

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

/arch/x86/include/asm/
Ddesc_defs.h88 typedef struct gate_struct gate_desc; typedef
90 static inline unsigned long gate_offset(const gate_desc *g) in gate_offset()
100 static inline unsigned long gate_segment(const gate_desc *g) in gate_segment()
Ddesc.h44 extern gate_desc idt_table[];
46 extern gate_desc debug_idt_table[];
84 static inline void pack_gate(gate_desc *gate, unsigned type, unsigned long func, in pack_gate()
141 static inline void native_write_idt_entry(gate_desc *idt, int entry, const gate_desc *gate) in native_write_idt_entry()
Dparavirt_types.h133 void (*write_idt_entry)(gate_desc *,
134 int entrynum, const gate_desc *gate);
Dparavirt.h256 static inline void write_idt_entry(gate_desc *dt, int entry, const gate_desc *g) in write_idt_entry()
/arch/x86/kernel/
Didt.c171 gate_desc idt_table[IDT_ENTRIES] __page_aligned_bss;
180 gate_desc debug_idt_table[IDT_ENTRIES] __page_aligned_bss;
205 static inline void idt_init_desc(gate_desc *gate, const struct idt_data *d) in idt_init_desc()
220 idt_setup_from_table(gate_desc *idt, const struct idt_data *t, int size, bool sys) in idt_setup_from_table()
222 gate_desc desc; in idt_setup_from_table()
/arch/x86/xen/
Denlighten_pv.c664 static int cvt_gate_to_trap(int vector, const gate_desc *val, in cvt_gate_to_trap()
695 static void xen_write_idt_entry(gate_desc *dt, int entrynum, const gate_desc *g) in xen_write_idt_entry()
729 count = (desc->size+1) / sizeof(gate_desc); in xen_convert_trap_info()
733 gate_desc *entry = (gate_desc *)(desc->address) + in; in xen_convert_trap_info()
/arch/x86/kvm/
Dvmx.c9523 gate_desc *desc; in vmx_handle_external_intr()
9530 desc = (gate_desc *)vmx->host_idt_base + vector; in vmx_handle_external_intr()