Skip to main content

gdt_load

Function gdt_load 

Source
pub unsafe fn gdt_load(
    gdt: &'static GlobalDescriptorTable,
    gdt_setup_info: &GdtSetupInfo,
)
Expand description

Load the GDT and its selectors

ยงSafety

The caller must guarantee that the given segment selectors in gdt_setup_info are valid and point to the given gdt