mirror of
https://github.com/anrieff/libcpuid
synced 2025-10-13 11:10:39 +00:00
Imrove cpu_rdmsr_range(), make header similar to cpu_rdmsr()
This commit is contained in:
parent
b5e82df407
commit
c9926ab6f7
3 changed files with 25 additions and 32 deletions
|
@ -635,6 +635,7 @@ const char* cpuid_error(void)
|
|||
{ ERR_INVMSR , "Invalid MSR"},
|
||||
{ ERR_INVCNB , "Invalid core number"},
|
||||
{ ERR_HANDLE_R , "Error on handle read"},
|
||||
{ ERR_INVRANGE , "Invalid given range"},
|
||||
};
|
||||
unsigned i;
|
||||
for (i = 0; i < COUNT_OF(matchtable); i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue