Function gdt_entry

Source
pub fn gdt_entry(flags: u16, base: u32, limit: u32) -> u64
Expand description

Constructor for a conventional segment GDT (or LDT) entry. Derived from the kernel’s segment.h.