Home
last modified time | relevance | path

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

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