Commit 6ee59918 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Fixed CPU detection for FreeBSD and P4.

parent 3a42dd25
...@@ -429,12 +429,13 @@ VOID WINAPI GetSystemInfo( ...@@ -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;
} }
......
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