Aufgabe 3: Pro-/Epilog
Core::MSR< id > Class Template Reference
Access to the Model-Specific Register (MSR) More...
#include <machine/core_msr.h>
Classes | |
struct | uint64_parts.__unnamed17__ |
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 >
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.__unnamed17__ |
template<enum MSRs id>
struct Core::MSR< id >::uint64_parts.__unnamed17__
struct Core::MSR< id >::uint64_parts.__unnamed17__
Class Members | ||
---|---|---|
uint32_t | low | |
uint32_t | high |
Member Function Documentation
Read the value of the current MSR.
- Returns
- Value stored in the MSR
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