pub struct SFMask;
Expand description
Syscall Register: SFMASK
Implementations§
Source§impl SFMask
impl SFMask
Sourcepub fn read() -> RFlags
pub fn read() -> RFlags
Read to the SFMask register. The SFMASK register is used to specify which RFLAGS bits are cleared during a SYSCALL. In long mode, SFMASK is used to specify which RFLAGS bits are cleared when SYSCALL is executed. If a bit in SFMASK is set to 1, the corresponding bit in RFLAGS is cleared to 0. If a bit in SFMASK is cleared to 0, the corresponding rFLAGS bit is not modified.
Sourcepub fn write(value: RFlags)
pub fn write(value: RFlags)
Write to the SFMask register. The SFMASK register is used to specify which RFLAGS bits are cleared during a SYSCALL. In long mode, SFMASK is used to specify which RFLAGS bits are cleared when SYSCALL is executed. If a bit in SFMASK is set to 1, the corresponding bit in RFLAGS is cleared to 0. If a bit in SFMASK is cleared to 0, the corresponding rFLAGS bit is not modified.