Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Sep 2004 21:01:37 -0700
From:      "David O'Brien" <obrien@freebsd.org>
To:        Joseph Koshy <joseph.koshy@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [patch] <machine/cputypes.h>
Message-ID:  <20040927040137.GA3274@dragon.nuxi.com>
In-Reply-To: <84dead72040926185171776b99@mail.gmail.com>
References:  <84dead72040926185171776b99@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040927040137.GA3274>