1
0
Fork 0
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:
Xorg 2016-05-18 14:59:55 +02:00
commit c9926ab6f7
3 changed files with 25 additions and 32 deletions

View file

@ -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++)