⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module msr

Module msr 

Source
Expand description

Model-Specific Register (MSR) read/write primitives.

Extracted from apic.rs so that other modules (e.g. pat.rs) can access MSRs without duplicating inline assembly.

Functions§

phys_to_virt
Translate a physical address to its virtual address using the bootloader’s physical memory mapping.
rdmsr
Read a 64-bit Model-Specific Register.
wrmsr
Write a 64-bit value to a Model-Specific Register.