From owner-freebsd-current@FreeBSD.ORG Mon Sep 27 04:01:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B7EC16A4CE for ; Mon, 27 Sep 2004 04:01:40 +0000 (GMT) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0853043D2F for ; Mon, 27 Sep 2004 04:01:40 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.13.1/8.13.1) with ESMTP id i8R41clu003490; Sun, 26 Sep 2004 21:01:38 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.13.1/8.13.1/Submit) id i8R41cwp003489; Sun, 26 Sep 2004 21:01:38 -0700 (PDT) (envelope-from obrien) Date: Sun, 26 Sep 2004 21:01:37 -0700 From: "David O'Brien" To: Joseph Koshy Message-ID: <20040927040137.GA3274@dragon.nuxi.com> References: <84dead72040926185171776b99@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <84dead72040926185171776b99@mail.gmail.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 6.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: freebsd-current@freebsd.org Subject: Re: [patch] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 04:01:40 -0000 On Mon, Sep 27, 2004 at 07:21:18AM +0530, Joseph Koshy wrote: > Anyone have objections to the following patch? > > $ diff -u cputypes.h /home/fcpi/src/sys/i386/include > /5/usr/src.cvs/sys/i386/include > --- cputypes.h Sat Jun 5 03:01:15 2004 > +++ /home/fcpi/src/sys/i386/include/cputypes.h Sun Sep 26 15:35:51 2004 > @@ -60,6 +60,8 @@ > #define CPU_PIII 15 /* Intel Pentium III */ > #define CPU_P4 16 /* Intel Pentium 4 */ > #define CPU_GEODE1100 17 /* NS Geode SC1100 */ > +#define CPU_K7 18 /* AMD K7 */ > +#define CPU_K8 19 /* AMD K8 (in X86 mode) */ ^^^^^^^^^^^^^^^^ K8 is an x86 CPU, I think you mean 32-bit mode. What are these values used for? A grep finds that we set them inconsistently and that they aren't used anywhere other than CPU_GEODE1100 in i386/i386/vm_machdep.c. -- -- David (obrien@FreeBSD.org)