Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/init/
H A Dmod.rs39 static mut GDT_Table: [usize; 0usize]; variable
56 MMArch::phys_2_virt(PhysAddr::new(&GDT_Table as *const usize as usize)).unwrap(); in kernel_main()
89 MMArch::phys_2_virt(PhysAddr::new(&GDT_Table as *const usize as usize)).unwrap(); in early_setup_arch()
/DragonOS/kernel/src/arch/x86_64/process/
H A Dtable.rs22 static mut GDT_Table: [u64; 512]; constant
65 let gdt_vaddr = VirtAddr::new(&GDT_Table as *const _ as usize); in set_tss_descriptor()
/DragonOS/kernel/src/arch/x86_64/asm/
H A Dhead.S439 leaq GDT_Table(%rip), %r8
600 .global GDT_Table // 使得GDT可以被外部程序引用或者访问
602 GDT_Table: label
617 GDT_LIMIT: .word GDT_END - GDT_Table - 1 // GDT的大小
618 GDT_BASE: .quad GDT_Table
622 GDT_LIMIT64: .word GDT_END - GDT_Table - 1 // GDT的大小
623 GDT_BASE64: .quad GDT_Table + 0xffff800000000000