[][src]Function sunrise_bootstrap::gdt::i386::instructions::segmentation::load_fs

pub unsafe fn load_fs(sel: SegmentSelector)

Reload fs segment register.

Safety

Sel must point to a present, valid segment in the GDT or LDT. Changing a segment will cause pointers to become invalidated. The only sound way to use this function is if the target segment has the same layout as the original segment.