Commit eef5e45e authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

ntdll: Improved reporting of CPU Level and Revision on ARM.

parent c1a0fbd1
......@@ -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"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment