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

pub unsafe fn wrgsbase(val: u64)
Expand description

Writes the GS segment base address

Safety

If CR4.FSGSBASE is not set, this instruction will throw an #UD.

The caller must ensure that this write operation has no unsafe side effects, as the GS segment base address might be in use.