Struct x86_64::registers::model_specific::SFMask   
source · 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.