libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
introvirt::x86::Cr4 Class Reference

The x86 Control Register 4. More...

#include <Cr4.hh>

Public Member Functions

bool vme () const
 Get the VME (Virtual 8086 Mode Extensions) bit.
 
bool pvi () const
 Get the PVI (Protected-mode Virtual Interrupts) bit.
 
bool tsd () const
 Get the TSD (Time Stamp Disable) bit.
 
bool de () const
 Get the DE (Debugging Extensions) bit.
 
bool pse () const
 Get the PSE (Page Size Extension) bit.
 
bool pae () const
 Get the PAE (Physical Address Extension) bit.
 
bool mce () const
 Get the MCE (Machine Check Exception) bit.
 
bool pge () const
 Get the PGE (Page Global Enabled) bit.
 
bool pce () const
 Get the PCE (Performance-Monitoring Counter enable) bit.
 
bool osfxsr () const
 Get the OSFXSR (Operating system support for FXSAVE and FXRSTOR instructions) bit.
 
bool osxmmexcpt () const
 Get the OSXMMEXCPT bit.
 
bool umip () const
 Get the UMIP (User-Mode Instruction Prevention) bit.
 
bool la57 () const
 Get the LA57 bit.
 
bool vmxe () const
 Get the VMXE (Virtual Machine Extensions Enable) bit.
 
bool smxe () const
 Get the SMXE (Safer Mode Extensions Enable) bit.
 
bool fsgsbase () const
 Get the FSGSBASE bit.
 
bool pcide () const
 Get the PCIDE (PCID Enable) bit.
 
bool osxsave () const
 Get the OSXSAVE (XSAVE and Processor Extended States Enable) bit.
 
bool smep () const
 Get the SMEP (Supervisor Mode Execution Protection Enable) bit.
 
bool smap () const
 Get the SMAP (Supervisor Mode Access Prevention Enable) bit.
 
bool pke () const
 Get the PKE (Protection Key Enable) bit.
 
uint64_t value () const
 Get the raw value.
 
 Cr4 (uint64_t cr4)
 Construct a new Cr4 object.
 

Detailed Description

The x86 Control Register 4.

Constructor & Destructor Documentation

◆ Cr4()

introvirt::x86::Cr4::Cr4 ( uint64_t  cr4)
explicit

Construct a new Cr4 object.

Parameters
cr4The raw cr4 value

Member Function Documentation

◆ de()

bool introvirt::x86::Cr4::de ( ) const

Get the DE (Debugging Extensions) bit.

Returns
true if the DE bit is set
false if the DE bit is not set

◆ fsgsbase()

bool introvirt::x86::Cr4::fsgsbase ( ) const

Get the FSGSBASE bit.

Returns
true if the FSGSBASE bit is set
false if the FSGSBASE bit is not set

◆ la57()

bool introvirt::x86::Cr4::la57 ( ) const

Get the LA57 bit.

Returns
true if the LA57 bit is set
false if the LA57 bit is not set

◆ mce()

bool introvirt::x86::Cr4::mce ( ) const

Get the MCE (Machine Check Exception) bit.

Returns
true if the MCE bit is set
false if the MCE bit is not set

◆ osfxsr()

bool introvirt::x86::Cr4::osfxsr ( ) const

Get the OSFXSR (Operating system support for FXSAVE and FXRSTOR instructions) bit.

Returns
true if the OSFXSR bit is set
false if the OSFXSR bit is not set

◆ osxmmexcpt()

bool introvirt::x86::Cr4::osxmmexcpt ( ) const

Get the OSXMMEXCPT bit.

Returns
true if the OSXMMEXCPT bit is set
false if the OSXMMEXCPT bit is not set

◆ osxsave()

bool introvirt::x86::Cr4::osxsave ( ) const

Get the OSXSAVE (XSAVE and Processor Extended States Enable) bit.

Returns
true if the OSXSAVE bit is set
false if the OSXSAVE bit is not set

◆ pae()

bool introvirt::x86::Cr4::pae ( ) const

Get the PAE (Physical Address Extension) bit.

Returns
true if the PAE bit is set
false if the PAE bit is not set

◆ pce()

bool introvirt::x86::Cr4::pce ( ) const

Get the PCE (Performance-Monitoring Counter enable) bit.

Returns
true if the PCE bit is set
false if the PCE bit is not set

◆ pcide()

bool introvirt::x86::Cr4::pcide ( ) const

Get the PCIDE (PCID Enable) bit.

Returns
true if the PCIDE bit is set
false if the PCIDE bit is not set

◆ pge()

bool introvirt::x86::Cr4::pge ( ) const

Get the PGE (Page Global Enabled) bit.

Returns
true if the PGE bit is set
false if the PGE bit is not set

◆ pke()

bool introvirt::x86::Cr4::pke ( ) const

Get the PKE (Protection Key Enable) bit.

Returns
true if the PKE bit is set
false if the PKE bit is not set

◆ pse()

bool introvirt::x86::Cr4::pse ( ) const

Get the PSE (Page Size Extension) bit.

Returns
true if the PSE bit is set
false if the PSE bit is not set

◆ pvi()

bool introvirt::x86::Cr4::pvi ( ) const

Get the PVI (Protected-mode Virtual Interrupts) bit.

Returns
true if the PVI bit is set
false if the PVI bit is not set

◆ smap()

bool introvirt::x86::Cr4::smap ( ) const

Get the SMAP (Supervisor Mode Access Prevention Enable) bit.

Returns
true if the SMAP bit is set
false if the SMAP bit is not set

◆ smep()

bool introvirt::x86::Cr4::smep ( ) const

Get the SMEP (Supervisor Mode Execution Protection Enable) bit.

Returns
true if the SMEP bit is set
false if the SMEP bit is not set

◆ smxe()

bool introvirt::x86::Cr4::smxe ( ) const

Get the SMXE (Safer Mode Extensions Enable) bit.

Returns
true if the SMXE bit is set
false if the SMXE bit is not set

◆ tsd()

bool introvirt::x86::Cr4::tsd ( ) const

Get the TSD (Time Stamp Disable) bit.

Returns
true if the TSD bit is set
false if the TSD bit is not set

◆ umip()

bool introvirt::x86::Cr4::umip ( ) const

Get the UMIP (User-Mode Instruction Prevention) bit.

Returns
true if the UMIP bit is set
false if the UMIP bit is not set

◆ value()

uint64_t introvirt::x86::Cr4::value ( ) const

Get the raw value.

Returns
The raw value of the register

◆ vme()

bool introvirt::x86::Cr4::vme ( ) const

Get the VME (Virtual 8086 Mode Extensions) bit.

Returns
true if the VME bit is set
false if the VME bit is not set

◆ vmxe()

bool introvirt::x86::Cr4::vmxe ( ) const

Get the VMXE (Virtual Machine Extensions Enable) bit.

Returns
true if the VMXE bit is set
false if the VMXE bit is not set

The documentation for this class was generated from the following file: