Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/
Dmain.c46 struct gdtr gdtp; variable
51 gdtp.size = bsp_gdt_size - 1; in reload_gdt()
52 gdtp.gdt_vaddr = (ul)phys_2_virt((ul)&GDT_Table); in reload_gdt()
54 asm volatile("lgdt (%0) \n\t" ::"r"(&gdtp) in reload_gdt()