The MSRs are constant at boot time so rather than creating a vector in the boot_msr_entries() method instead reaturn a reference to static MSR array data. Signed-off-by: Rob Bradford <rbradford@rivosinc.com> |
||
|---|---|---|
| .. | ||
| aarch64 | ||
| riscv64 | ||
| x86_64 | ||
| lib.rs | ||
The MSRs are constant at boot time so rather than creating a vector in the boot_msr_entries() method instead reaturn a reference to static MSR array data. Signed-off-by: Rob Bradford <rbradford@rivosinc.com> |
||
|---|---|---|
| .. | ||
| aarch64 | ||
| riscv64 | ||
| x86_64 | ||
| lib.rs | ||