Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/exception/
Dgate.h76 #define _set_gate(gate_selector_addr, attr, ist, code_addr) … macro
129 _set_gate(phys_2_virt(IDT_Table + n), 0x8E, ist, addr); // p=1,DPL=0, type=E in set_intr_gate()
146 _set_gate(phys_2_virt(IDT_Table + n), 0x8F, ist, addr); // p=1,DPL=0, type=F in set_trap_gate()
161 _set_gate(phys_2_virt(IDT_Table + n), 0xEF, ist, addr); // p=1,DPL=3, type=F in set_system_trap_gate()
167 _set_gate(phys_2_virt(IDT_Table + n) , 0xEE , ist , addr); //P,DPL=3,TYPE=E in set_system_intr_gate()