Home
last modified time | relevance | path

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

/DragonOS-0.1.8/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.8/kernel/src/
Dhead.S346 leaq GDT_Table(%rip), %r8
427 leaq GDT_Table(%rip), %rdi
544 .global GDT_Table // 使得GDT可以被外部程序引用或者访问
546 GDT_Table: label
561 GDT_LIMIT: .word GDT_END - GDT_Table - 1 // GDT的大小
562 GDT_BASE: .quad GDT_Table
566 GDT_LIMIT64: .word GDT_END - GDT_Table - 1 // GDT的大小
567 GDT_BASE64: .quad GDT_Table + 0xffff800000000000
Dmain.c52 gdtp.gdt_vaddr = (ul)phys_2_virt((ul)&GDT_Table); in reload_gdt()