/// Installs the GDT on the local core.
///
/// # Safety
/// This is heavily unsafe, if done wrong it will crash your
/// system or change memory semantics.
Installs the GDT on the local core.
Installs the GDT on the local core .
pub unsafe fn install(&self) {
        let gdtptr = DescriptorTablePointer::new(self);
        lgdt(&gdtptr);
        // We need to re-load the segments when we change the GDT
        GdtTable::reload_segment_selectors();
    }
pub unsafe fn install ( & self ) { let gdtptr = DescriptorTablePointer :: new ( self ) ; lgdt ( & gdtptr ) ; // We need to re-load the segments when we change the GDT GdtTable :: reload_segment_selectors ( ) ; }
Installs the GDT on the local core.
Installs the GDT on the local core .
&self
safety
This is heavily unsafe, if done wrong it will crash your
system or change memory semantics.
This is heavily unsafe if done wrong it will crash your system or change memory semantics .