Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/arch/i386 Apply patch (requested by drochner in tic...



details:   https://anonhg.NetBSD.org/src/rev/c5b0167a8e05
branches:  netbsd-1-6
changeset: 530663:c5b0167a8e05
user:      tron <tron%NetBSD.org@localhost>
date:      Sun Sep 07 13:09:53 2003 +0000

description:
Apply patch (requested by drochner in ticket 1344):
Make output of CPU features look nicer on new Pentium IV CPUs.

diffstat:

 sys/arch/i386/i386/procfs_machdep.c |  5 ++---
 sys/arch/i386/include/cpu.h         |  4 ++--
 2 files changed, 4 insertions(+), 5 deletions(-)

diffs (44 lines):

diff -r cc0390a69700 -r c5b0167a8e05 sys/arch/i386/i386/procfs_machdep.c
--- a/sys/arch/i386/i386/procfs_machdep.c       Sun Sep 07 07:40:42 2003 +0000
+++ b/sys/arch/i386/i386/procfs_machdep.c       Sun Sep 07 13:09:53 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: procfs_machdep.c,v 1.9 2002/05/09 16:28:11 thorpej Exp $       */
+/*     $NetBSD: procfs_machdep.c,v 1.9.4.1 2003/09/07 13:09:53 tron Exp $      */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: procfs_machdep.c,v 1.9 2002/05/09 16:28:11 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_machdep.c,v 1.9.4.1 2003/09/07 13:09:53 tron Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -53,7 +53,6 @@
 
 extern int i386_fpu_present, i386_fpu_exception, i386_fpu_fdivbug;
 extern u_int64_t cpu_tsc_freq;
-extern int cpu_feature;
 extern char cpu_model[];
 extern char cpu_vendor[];
 extern int cpu_id, cpu_class;
diff -r cc0390a69700 -r c5b0167a8e05 sys/arch/i386/include/cpu.h
--- a/sys/arch/i386/include/cpu.h       Sun Sep 07 07:40:42 2003 +0000
+++ b/sys/arch/i386/include/cpu.h       Sun Sep 07 13:09:53 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.80 2002/05/12 23:16:52 matt Exp $    */
+/*     $NetBSD: cpu.h,v 1.80.4.1 2003/09/07 13:09:54 tron Exp $        */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -179,7 +179,7 @@
 extern int biosextmem;
 extern int cpu;
 extern int cpu_class;
-extern int cpu_feature;
+extern unsigned int cpu_feature;
 extern int cpu_id;
 extern char cpu_vendor[];
 extern int cpuid_level;



Home | Main Index | Thread Index | Old Index