Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Oct 2000 11:25:25 -0400
From:      Tadayuki Okada <tadayuki.okada@windriver.com>
To:        cvs-all@freebsd.org
Subject:   RE: cvs commit: src/sys/i386/i386 identcpu.c src/sys/i386/include  cputypes.h
Message-ID:  <39D9FA65.1C9E6AB@windriver.com>

next in thread | raw e-mail | index | archive | help
cputypes.h has inconsistent definition for P4.

from sys/i386/include/cputypes.h:
#define CPU_PIII        15      /* Intel Pentium III */
#define CPU_4           16      /* Intel Pentium 4 */

kernel build error:
cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith
-Winline -Wuninitialized -Wformat -Wunused  -fformat-extensions -ansi
-nostdinc -I- -I. -I../.. -I../../../include  -DKERNEL -DVM_STACK
-include opt_global.h -elf  ../../i386/i386/identcpu.c
../../i386/i386/identcpu.c: In function `printcpuinfo':
../../i386/i386/identcpu.c:223: `CPU_P4' undeclared (first use this function)
../../i386/i386/identcpu.c:223: (Each undeclared identifier is reported only
once
../../i386/i386/identcpu.c:223: for each function it appears in.)
*** Error code 1

Stop.

----
asmodai     2000/10/02 06:49:32 PDT

  Modified files:        (Branch: RELENG_3)
    sys/i386/i386        identcpu.c 
  Log:
  MFC:  - Pentium 4 recognition code
        - Descriptions of some features
  
  Revision   Changes    Path
  1.57.2.16  +20 -13    src/sys/i386/i386/identcpu.c


  Modified files:        (Branch: RELENG_3)
    sys/i386/include     cputypes.h 
  Log:
  MFC:  - Pentium 4 recognition code
  
  Revision  Changes    Path
  1.11.2.3  +2 -1      src/sys/i386/include/cputypes.h


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39D9FA65.1C9E6AB>