mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
ntdll: Improved reporting of CPU Level and Revision on ARM.
This commit is contained in:
parent
c1a0fbd146
commit
eef5e45ee6
@ -1080,10 +1080,16 @@ static inline void get_cpuinfo(SYSTEM_CPU_INFORMATION* info)
|
||||
while (isspace(*value)) value++;
|
||||
if ((s = strchr(value,'\n')))
|
||||
*s='\0';
|
||||
if (!strcasecmp(line, "CPU architecture"))
|
||||
if (!strcasecmp(line, "CPU part"))
|
||||
{
|
||||
if (isdigit(value[0]))
|
||||
info->Level = atoi(value);
|
||||
info->Level = strtol(value, NULL, 16);
|
||||
continue;
|
||||
}
|
||||
if (!strcasecmp(line, "CPU revision"))
|
||||
{
|
||||
if (isdigit(value[0]))
|
||||
info->Revision = atoi(value);
|
||||
continue;
|
||||
}
|
||||
if (!strcasecmp(line, "features"))
|
||||
|
Loading…
Reference in New Issue
Block a user