Struct x86_64::registers::model_specific::SFMask [−][src]
pub struct SFMask;
Expand description
Syscall Register: SFMASK
Implementations
impl SFMask
[src]
impl SFMask
[src]pub fn read() -> RFlags
[src]
pub fn read() -> RFlags
[src]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.
pub fn write(value: RFlags)
[src]
pub fn write(value: RFlags)
[src]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.