Re: [patch] <machine/cputypes.h>

From: David O'Brien <obrien_at_freebsd.org>
Date: Sun, 26 Sep 2004 21:01:37 -0700
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
> _at__at_ -60,6 +60,8 _at__at_
>  #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_at_FreeBSD.org)
Received on Mon Sep 27 2004 - 02:01:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:14 UTC