ntdll: Parse ARM CPU level.

This commit is contained in:
André Hentschel 2011-06-15 20:52:33 +02:00 committed by Alexandre Julliard
parent 8a8a700513
commit 3eb91fbc3c
1 changed files with 3 additions and 2 deletions

View File

@ -990,11 +990,12 @@ void fill_cpu_info(void)
continue;
}
/* 2.1 method */
if (!strcasecmp(line, "cpu family"))
/* 2.1 and ARM method */
if (!strcasecmp(line, "cpu family") || !strcasecmp(line, "CPU architecture"))
{
if (isdigit(value[0]))
{
value[1] = '\0'; /* Make sure we only get one character */
cached_sci.Level = atoi(value);
}
continue;