Searched refs:ist (Results 1 – 1 of 1) sorted by relevance
/DragonOS-0.1.8/kernel/src/exception/ |
D | gate.h | 53 void set_gate(ul *gate_selector_addr, ul attr, unsigned char ist, ul *code_addr) in set_gate() argument 59 __d0 |= ((ul)(ist) << 32); // 设置ist in set_gate() 76 #define _set_gate(gate_selector_addr, attr, ist, code_addr) … argument 96 … "3"((unsigned long *)(code_addr)), "2"(0x8 << 16), "c"(ist) \ 127 void set_intr_gate(unsigned int n, unsigned char ist, void *addr) in set_intr_gate() argument 129 _set_gate(phys_2_virt(IDT_Table + n), 0x8E, ist, addr); // p=1,DPL=0, type=E in set_intr_gate() 141 void set_trap_gate(unsigned int n, unsigned char ist, void *addr) in set_trap_gate() argument 146 _set_gate(phys_2_virt(IDT_Table + n), 0x8F, ist, addr); // p=1,DPL=0, type=F in set_trap_gate() 156 void set_system_trap_gate(unsigned int n, unsigned char ist, void *addr) in set_system_trap_gate() argument 161 _set_gate(phys_2_virt(IDT_Table + n), 0xEF, ist, addr); // p=1,DPL=3, type=F in set_system_trap_gate() [all …]
|