Access to the Model-Specific Register (MSR)
More...
#include <machine/core_msr.h>
|
static uint64_t | read () |
| Read the value of the current MSR. More...
|
|
static void | write (uint64_t value) |
| Write a value into the current MSR. More...
|
|
template<enum MSRs id>
class Core::MSR< id >
Access to the Model-Specific Register (MSR)
- See also
- ISDMv3, 9.4 Model-Specific Registers (MSRs)
-
ISDMv4
- Template Parameters
-
id | ID of the Model-Specific Register to access |
◆ Core::MSR::uint64_parts.__unnamed__
struct Core::MSR::uint64_parts.__unnamed__ |
template<enum MSRs id>
struct Core::MSR< id >::uint64_parts.__unnamed__
Class Members |
uint32_t |
low |
|
uint32_t |
high |
|
◆ read()
Read the value of the current MSR.
- Returns
- Value stored in the MSR
◆ write()
template<enum MSRs id>
static void Core::MSR< id >::write |
( |
uint64_t |
value | ) |
|
|
inlinestatic |
Write a value into the current MSR.
- Parameters
-
value | Value to write into the MSR |
The documentation for this class was generated from the following file: