Fixed CPU detection for FreeBSD and P4.
This commit is contained in:
parent
3a42dd2557
commit
6ee59918dc
@ -429,12 +429,13 @@ VOID WINAPI GetSystemInfo(
|
|||||||
cachedsi.wProcessorLevel = 4;
|
cachedsi.wProcessorLevel = 4;
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
case 6: /* PPro/2/3 has same info as P1 */
|
case 6:
|
||||||
|
case 15: /* PPro/2/3/4 has same info as P1 */
|
||||||
cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM;
|
cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM;
|
||||||
cachedsi.wProcessorLevel = 5;
|
cachedsi.wProcessorLevel = 5;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
FIXME("unknown cpu family %d, please report! (-> setting to 386)\n", \
|
FIXME("unknown FreeBSD cpu family %d, please report! (-> setting to 386)\n", \
|
||||||
(regs2[0] >> 8)&0xf);
|
(regs2[0] >> 8)&0xf);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user