Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/exception/
Dgate.h29 extern struct desc_struct GDT_Table[]; // GDT_Table是head.S中的GDT_Table
105 …*(unsigned long *)(phys_2_virt(GDT_Table + n)) = (limit & 0xffff) | (((unsigned long)addr & 0xffff… in set_tss_descriptor()
106 …*(unsigned long *)(phys_2_virt(GDT_Table + n + 1)) = (((unsigned long)addr >> 32) & 0xffffffff) | … in set_tss_descriptor()
/DragonOS-0.1.5/kernel/src/
Dhead.S307 leaq GDT_Table(%rip), %r8
388 leaq GDT_Table(%rip), %rdi
555 .global GDT_Table // 使得GDT可以被外部程序引用或者访问
557 GDT_Table: label
572 GDT_LIMIT: .word GDT_END - GDT_Table - 1 // GDT的大小
573 GDT_BASE: .quad GDT_Table
577 GDT_LIMIT64: .word GDT_END - GDT_Table - 1 // GDT的大小
578 GDT_BASE64: .quad GDT_Table + 0xffff800000000000
Dmain.c50 gdtp.gdt_vaddr = (ul)phys_2_virt((ul)&GDT_Table); in reload_gdt()