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

pub unsafe fn rdgsbase() -> u64

Reads the GS segment base address

Safety

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