C++ Crashkurs
Core::MSR< id > Class Template Reference
Access to the Model-Specific Register (MSR) More...
#include <machine/core_msr.h>
Classes | |
struct | uint64_parts.__unnamed__ |
Static Public Member Functions | |
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... | |
Detailed Description
template<enum MSRs id>
class Core::MSR< id >
Access to the Model-Specific Register (MSR)
- Template Parameters
-
id ID of the Model-Specific Register to access
Class Documentation
struct Core::MSR::uint64_parts.__unnamed__ |
Member Function Documentation
template<enum MSRs id>
|
inlinestatic |
Read the value of the current MSR.
- Returns
- Value stored in the MSR
template<enum MSRs id>
|
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:
- machine/core_msr.h