[][src]Function x86_64::registers::wrgsbase

pub unsafe fn wrgsbase(val: u64)

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.