Function x86_64::instructions::tables::lgdt[][src]

pub unsafe fn lgdt(gdt: &DescriptorTablePointer)
Expand description

Load a GDT.

Use the GlobalDescriptorTable struct for a high-level interface to loading a GDT.

Safety

This function is unsafe because the caller must ensure that the given DescriptorTablePointer points to a valid GDT and that loading this GDT is safe.