Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/init/
H A Dmod.rs54 let mut gdtp = DescriptorTablePointer::<usize>::default(); in kernel_main() localVariable
59 gdtp.base = gdt_vaddr.data() as *const usize; in kernel_main()
60 gdtp.limit = bsp_gdt_size as u16 - 1; in kernel_main()
67 x86::dtables::lgdt(&gdtp); in kernel_main()