Home
last modified time | relevance | path

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

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