Searched refs:idtr (Results 1 – 9 of 9) sorted by relevance
119 desctbr_t idtr; in kdi_idtr_set() local132 idtr.dtr_base = (uintptr_t)idt; in kdi_idtr_set()133 idtr.dtr_limit = limit; in kdi_idtr_set()134 kdi_idtr_write(&idtr); in kdi_idtr_set()
58 desctbr_t idtr; in kdi_idt_write() local59 rd_idtr(&idtr); in kdi_idt_write()60 idt = (gate_desc_t *)idtr.dtr_base; in kdi_idt_write()
2022 desctbr_t idtr; in startup_vm() local2036 idtr.dtr_base = (uintptr_t)CPU->cpu_idt; in startup_vm()2037 idtr.dtr_limit = (NIDT * sizeof (*idt0)) - 1; in startup_vm()2038 wr_idtr(&idtr); in startup_vm()
64 kdi_idtr_write(desctbr_t *idtr) in kdi_idtr_write() argument66 gate_desc_t *idt = (gate_desc_t *)idtr->dtr_base; in kdi_idtr_write()67 uint_t nidt = (idtr->dtr_limit + 1) / sizeof (*idt); in kdi_idtr_write()
500 desctbr_t idtr; in switch_to_xpv_panic_idt() local552 idtr.dtr_base = (uintptr_t)xpv_panic_idt; in switch_to_xpv_panic_idt()553 idtr.dtr_limit = sizeof (xpv_panic_idt) - 1; in switch_to_xpv_panic_idt()554 wr_idtr(&idtr); in switch_to_xpv_panic_idt()
116 #define kdi_idtr_write(idtr) wr_idtr(idtr) argument
51 rd_idtr(desctbr_t *idtr)56 wr_idtr(desctbr_t *idtr)
1224 desctbr_t idtr; in init_desctbls() local1264 idtr.dtr_base = (uintptr_t)idt0; in init_desctbls()1265 idtr.dtr_limit = (NIDT * sizeof (*idt0)) - 1; in init_desctbls()1266 wr_idtr(&idtr); in init_desctbls()1274 idt0_default_r = idtr; in init_desctbls()
933 D16 A16 lgdt %cs:WC_GDT(%ebx) / restore gdt and idtr