msru
provides a Rust-friendly interface for x86_64 CPU MSRs
(Model Specific Registers). It allows you to read and write to MSRs
via a specified CPU msr device file (/dev/cpu/{cpu_number}/msr
).
Add the following line to your Cargo.toml
file:
toml
[dependencies]
msru = "0.1.0"
```rust use msru::Msr;
// X86_64 SYSCFG MSR let msr: Msr = Msr::new(0xC0010010, 0);
// ... ```