|
StuBS
|
Access to the Model-Specific Register (MSR). More...
#include <machine/core_msr.h>
Classes | |
| union | uint64_parts |
| Helper to access low and high bits of a 64 bit value. More... | |
Static Public Member Functions | |
| static uint64_t | read () |
| Read the value of the current MSR. | |
| static void | write (uint64_t value) |
| Write a value into the current MSR. | |
Access to the Model-Specific Register (MSR).
| id | ID of the Model-Specific Register to access |
Read the value of the current MSR.
Write a value into the current MSR.
| value | Value to write into the MSR |