pub struct FsBase;Expand description
FS.Base Model Specific Register.
Implementations§
Source§impl FsBase
impl FsBase
Sourcepub fn read() -> VirtAddr
pub fn read() -> VirtAddr
Read the current FsBase register.
If CR4.FSGSBASE is set, the more efficient
FS::read_base can be used instead.
Sourcepub fn write(address: VirtAddr)
pub fn write(address: VirtAddr)
Write a given virtual address to the FS.Base register.
If CR4.FSGSBASE is set, the more efficient
FS::write_base can be used instead.