Function x86_64::instructions::segmentation::swap_gs[][src]

pub unsafe fn swap_gs()
Expand description

Swap KernelGsBase MSR and GsBase MSR.

Safety

This function is unsafe because the caller must ensure that the swap operation cannot lead to undefined behavior.