Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/include/asm/
H A Ddesc_defs.h95 typedef struct gate_struct gate_desc; typedef
97 static inline unsigned long gate_offset(const gate_desc *g) in gate_offset()
107 static inline unsigned long gate_segment(const gate_desc *g) in gate_segment()
H A Ddesc.h80 static inline void pack_gate(gate_desc *gate, unsigned type, unsigned long func, in pack_gate()
137 static inline void native_write_idt_entry(gate_desc *idt, int entry, const gate_desc *gate) in native_write_idt_entry()
420 static inline void idt_init_desc(gate_desc *gate, const struct idt_data *d) in idt_init_desc()
H A Dparavirt_types.h85 void (*write_idt_entry)(gate_desc *,
86 int entrynum, const gate_desc *gate);
H A Dparavirt.h320 static inline void write_idt_entry(gate_desc *dt, int entry, const gate_desc *g) in write_idt_entry()
/openbmc/linux/arch/x86/kernel/
H A Didt.c54 #define IDT_TABLE_SIZE (IDT_ENTRIES * sizeof(gate_desc))
166 static gate_desc idt_table[IDT_ENTRIES] __page_aligned_bss;
187 idt_setup_from_table(gate_desc *idt, const struct idt_data *t, int size, bool sys) in idt_setup_from_table()
189 gate_desc desc; in idt_setup_from_table()
H A Dhead64.c570 static gate_desc bringup_idt_table[NUM_EXCEPTION_VECTORS] __page_aligned_data;
573 .size = (NUM_EXCEPTION_VECTORS * sizeof(gate_desc)) - 1,
577 static void set_bringup_idt_handler(gate_desc *idt, int n, void *handler) in set_bringup_idt_handler()
581 gate_desc desc; in set_bringup_idt_handler()
593 gate_desc *idt = fixup_pointer(bringup_idt_table, physbase); in startup_64_load_idt()
/openbmc/linux/arch/x86/boot/compressed/
H A Didt_64.c10 gate_desc entry; in set_idt_entry()
H A Dmisc.h189 extern gate_desc boot_idt[BOOT_IDT_ENTRIES];
/openbmc/linux/arch/x86/xen/
H A Denlighten_pv.c770 static int cvt_gate_to_trap(int vector, const gate_desc *val, in cvt_gate_to_trap()
799 static void xen_write_idt_entry(gate_desc *dt, int entrynum, const gate_desc *g) in xen_write_idt_entry()
833 count = (desc->size+1) / sizeof(gate_desc); in xen_convert_trap_info()
837 gate_desc *entry = (gate_desc *)(desc->address) + in; in xen_convert_trap_info()
/openbmc/linux/include/trace/events/
H A Dxen.h400 TP_PROTO(gate_desc *dt, int entrynum, const gate_desc *ent),
403 __field(gate_desc *, dt)
/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmx.c6981 gate_desc *desc = (gate_desc *)host_idt_base + vector; in handle_external_interrupt_irqoff()