From 6ee59918dceb985465d8ced397c0f2e5d8373db2 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 30 Jun 2003 02:04:41 +0000 Subject: [PATCH] Fixed CPU detection for FreeBSD and P4. --- misc/cpu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/misc/cpu.c b/misc/cpu.c index 81e89cffee2..e04b83326b8 100644 --- a/misc/cpu.c +++ b/misc/cpu.c @@ -429,12 +429,13 @@ VOID WINAPI GetSystemInfo( cachedsi.wProcessorLevel = 4; break; 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.wProcessorLevel = 5; break; 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); break; }