PATCH: FreeBSD CPU detection for p4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I lack FreeBSD to do a compile test, but i did no obvious syntax error ;)

Ciao, Marcus

Changelog:
	Fix CPU detection for FreeBSD and P4.

Index: misc/cpu.c
===================================================================
RCS file: /home/wine/wine/misc/cpu.c,v
retrieving revision 1.32
diff -u -r1.32 cpu.c
--- misc/cpu.c	21 May 2003 18:24:34 -0000	1.32
+++ misc/cpu.c	29 Jun 2003 10:06:13 -0000
@@ -429,12 +429,13 @@
 			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;
 		}


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux