Struct x86_64::registers::model_specific::GsBase [−][src]
pub struct GsBase;
Expand description
GS.Base Model Specific Register.
GS::swap
swaps this register with KernelGsBase
.
Implementations
Read the current GsBase register.
If CR4.FSGSBASE
is set, the more efficient
GS::read_base
can be used instead.
Write a given virtual address to the GS.Base register.
If CR4.FSGSBASE
is set, the more efficient
GS::write_base
can be used instead.