Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86: Factor out set_rdmsr_value and get_wrmsr_value
This improves readability of the code and scales better with more MSRs being intercepted. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
- Loading branch information
1 parent
dac2a01
commit 30927c3
Showing
2 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters