The x86 Extended Feature Enable Register.
More...
#include <Efer.hh>
|
| bool | sce () const |
| | Get the SCE (System Call Extensions) bit.
|
| |
| bool | lme () const |
| | Get the LME (Long Mode Enable) bit.
|
| |
| bool | lma () const |
| | Get the LMA (Long Mode Active) bit.
|
| |
| bool | nxe () const |
| | Get the NXE (No-Execute Enable) bit.
|
| |
| bool | svme () const |
| | Get the SVME (Secure Virtual Machine Enable) bit.
|
| |
| bool | lmsle () const |
| | Get the LMSLE (Long Mode Segment Limit Enable) bit.
|
| |
| bool | ffxsr () const |
| | Get the FFXSR (Fast FXSAVE/FXRSTOR) bit.
|
| |
| bool | tce () const |
| | Get the TCE (Translation Cache Extension) bit.
|
| |
| uint64_t | value () const |
| | Get the raw value of the EFER MSR.
|
| |
| | Efer (uint64_t efer) HOT |
| | Construct a new Efer object.
|
| |
| | ~Efer ()=default |
| |
The x86 Extended Feature Enable Register.
◆ Efer()
| introvirt::x86::Efer::Efer |
( |
uint64_t |
efer | ) |
|
|
inlineexplicit |
Construct a new Efer object.
- Parameters
-
| efer | The efer value to use |
◆ ~Efer()
| introvirt::x86::Efer::~Efer |
( |
| ) |
|
|
default |
◆ ffxsr()
| bool introvirt::x86::Efer::ffxsr |
( |
| ) |
const |
Get the FFXSR (Fast FXSAVE/FXRSTOR) bit.
- Returns
- true if the FFXSR bit is set
-
false if the FFXSR bit is not set
◆ lma()
| bool introvirt::x86::Efer::lma |
( |
| ) |
const |
Get the LMA (Long Mode Active) bit.
- Returns
- true if the LMA bit is set
-
false if the LMA bit is not set
◆ lme()
| bool introvirt::x86::Efer::lme |
( |
| ) |
const |
Get the LME (Long Mode Enable) bit.
- Returns
- true if the LME bit is set
-
false if the LME bit is not set
◆ lmsle()
| bool introvirt::x86::Efer::lmsle |
( |
| ) |
const |
Get the LMSLE (Long Mode Segment Limit Enable) bit.
- Returns
- true if the LMSLE bit is set
-
false if the LMSLE bit is not set
◆ nxe()
| bool introvirt::x86::Efer::nxe |
( |
| ) |
const |
Get the NXE (No-Execute Enable) bit.
- Returns
- true if the NXE bit is set
-
false if the NXE bit is not set
◆ sce()
| bool introvirt::x86::Efer::sce |
( |
| ) |
const |
Get the SCE (System Call Extensions) bit.
- Returns
- true if the SCE bit is set
-
false if the SCE bit is not set
◆ svme()
| bool introvirt::x86::Efer::svme |
( |
| ) |
const |
Get the SVME (Secure Virtual Machine Enable) bit.
- Returns
- true if the SVME bit is set
-
false if the SVME bit is not set
◆ tce()
| bool introvirt::x86::Efer::tce |
( |
| ) |
const |
Get the TCE (Translation Cache Extension) bit.
- Returns
- true if the TCE bit is set
-
false if the TCE bit is not set
◆ value()
| uint64_t introvirt::x86::Efer::value |
( |
| ) |
const |
Get the raw value of the EFER MSR.
- Returns
- uint64_t The raw value
The documentation for this class was generated from the following file:
- /home/runner/work/IntroVirt/IntroVirt/include/introvirt/core/arch/x86/Efer.hh