x86: Document purpose of _safe variants of {rd,wr}msr()
Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
4bb02fdccf
commit
8899c9cd84
@ -763,7 +763,8 @@ ENTRY(longjmp)
|
||||
END(longjmp)
|
||||
|
||||
/*
|
||||
* Support for reading MSRs in the safe manner.
|
||||
* Support for reading MSRs in the safe manner. (Instead of panic on #gp,
|
||||
* return an error.)
|
||||
*/
|
||||
ENTRY(rdmsr_safe)
|
||||
/* int rdmsr_safe(u_int msr, uint64_t *data) */
|
||||
@ -783,7 +784,8 @@ ENTRY(rdmsr_safe)
|
||||
ret
|
||||
|
||||
/*
|
||||
* Support for writing MSRs in the safe manner.
|
||||
* Support for writing MSRs in the safe manner. (Instead of panic on #gp,
|
||||
* return an error.)
|
||||
*/
|
||||
ENTRY(wrmsr_safe)
|
||||
/* int wrmsr_safe(u_int msr, uint64_t data) */
|
||||
|
@ -790,7 +790,8 @@ ENTRY(longjmp)
|
||||
END(longjmp)
|
||||
|
||||
/*
|
||||
* Support for reading MSRs in the safe manner.
|
||||
* Support for reading MSRs in the safe manner. (Instead of panic on #gp,
|
||||
* return an error.)
|
||||
*/
|
||||
ENTRY(rdmsr_safe)
|
||||
/* int rdmsr_safe(u_int msr, uint64_t *data) */
|
||||
@ -810,7 +811,8 @@ ENTRY(rdmsr_safe)
|
||||
ret
|
||||
|
||||
/*
|
||||
* Support for writing MSRs in the safe manner.
|
||||
* Support for writing MSRs in the safe manner. (Instead of panic on #gp,
|
||||
* return an error.)
|
||||
*/
|
||||
ENTRY(wrmsr_safe)
|
||||
/* int wrmsr_safe(u_int msr, uint64_t data) */
|
||||
|
Loading…
Reference in New Issue
Block a user