pub fn new(tss: &TaskStateSegment) -> GdtTable {
        GdtTable {
            tss_segment: GdtTable::tss_descriptor(tss),
            ..Default::default()
        }
    }
/// Creates a new GdtTable with a provided TaskStateSegment.
///
/// The other values will be set to x86-64 default values and
/// should not change.
Creates a new GdtTable with a provided TaskStateSegment.
The other values will be set to x86-64 default values and
should not change.
Creates a new GdtTable with a provided TaskStateSegment . The other values will be set to x86 - 64 default values and should not change .
pub fn new(tss: &TaskStateSegment) -> GdtTable {
        GdtTable {
            tss_segment: GdtTable::tss_descriptor(tss),
            ..Default::default()
        }
    }
pub fn new ( tss : & TaskStateSegment ) -> GdtTable { GdtTable { tss_segment : GdtTable :: tss_descriptor ( tss ) , .. Default :: default ( ) } }
Creates a new GdtTable with a provided TaskStateSegment.
Creates a new GdtTable with a provided TaskStateSegment .
tss
&TaskStateSegment
tss
&TaskStateSegment