x86: Document purpose of _safe variants of {rd,wr}msr()

Sponsored by:	Dell EMC Isilon
This commit is contained in:
cem 2018-01-10 22:41:00 +00:00
parent 4bb02fdccf
commit 8899c9cd84
2 changed files with 8 additions and 4 deletions

View File

@ -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) */

View File

@ -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) */