Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/i386 Add "Pentium III (Tualatin)" entry to CPU...



details:   https://anonhg.NetBSD.org/src/rev/2de232c0d73d
branches:  trunk
changeset: 516719:2de232c0d73d
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Oct 28 16:17:05 2001 +0000

description:
Add "Pentium III (Tualatin)" entry to CPUVENDOR_INTEL/CPUCLASS_686.
Make sure the CPUCLASS_686 entry has really 17 (i.e. 16 + default)
name entries as it's supposed to, so that code won't crash when
run on Intel CPUCLASS_686 processor which doesn't have name entry
in the table.

Reported and fix provided by Naoto Morishima in kern/14380.

diffstat:

 sys/arch/i386/i386/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r e7cb9b5e71b5 -r 2de232c0d73d sys/arch/i386/i386/machdep.c
--- a/sys/arch/i386/i386/machdep.c      Sun Oct 28 13:53:37 2001 +0000
+++ b/sys/arch/i386/i386/machdep.c      Sun Oct 28 16:17:05 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.457 2001/09/19 01:26:19 thorpej Exp $    */
+/*     $NetBSD: machdep.c,v 1.458 2001/10/28 16:17:05 jdolecek Exp $   */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2000 The NetBSD Foundation, Inc.
@@ -707,8 +707,8 @@
                                "Celeron (Mendocino)",
                                "Pentium III (Katmai)",
                                "Pentium III (Coppermine)",
-                               0, "Pentium III (Cascades)", 0, 0,
-                               0, 0,
+                               0, "Pentium III (Cascades)",
+                               "Pentium III (Tualatin)", 0, 0, 0, 0,
                                "Pentium Pro, II or III"        /* Default */
                        },
                        NULL,



Home | Main Index | Thread Index | Old Index