Function import_default_gdt

Source
pub fn import_default_gdt(
    importer: &mut dyn ImageLoad<X86Register>,
    gdt_page_base: u64,
) -> Result<()>
Expand description

Import a default GDT at the given address, with one page imported. The GDT is used with cs as entry 1, and data segments (ds, es, fs, gs, ss) as entry 2. Registers using the GDT are imported with vtl 0 only.