Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/exception/
Dgate.h30 extern struct gate_struct IDT_Table[]; // IDT_Table是head.S中的IDT_Table
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()
/DragonOS-0.1.8/kernel/src/
Dhead.S352 leaq IDT_Table(%rip), %r8
384 leaq IDT_Table(%rip), %rdi // 获取中断描述符表的首地址,存储到rdi
570 .global IDT_Table
572 IDT_Table: label
578 IDT_LIMIT: .word IDT_END - IDT_Table - 1
579 IDT_BASE: .quad IDT_Table
583 IDT_LIMIT64: .word IDT_END - IDT_Table - 1
584 IDT_BASE64: .quad IDT_Table + 0xffff800000000000
Dmain.c62 idtp.idt_vaddr = (ul)phys_2_virt((ul)&IDT_Table); in reload_idt()