cvs commit: src/sys/i386/i386 identcpu.c initcpu.c src/sys/i386/include md_var.h

Peter Wemm peter at FreeBSD.org
Thu Jun 30 06:44:35 GMT 2005


peter       2005-06-30 06:44:34 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/i386        identcpu.c initcpu.c 
    sys/i386/include     md_var.h 
  Log:
  Begin promoting the AMD-originated feature flags to first class flags, now
  that newer Intel cpu hardware implements them too.  This includes things
  like the NX (pte no-execute) flag for execute protection.  We'll need to
  reference this for implementing no-exec in pmap.c at some point.
  
  Some feature flags are duplicated in both the Intel-orignated bits and
  the AMD bits.  Suppress the the duplicates correctly - the old code
  assumed they were a 1:1 mapping which is not correct.  We can't just mask
  off the bits present in cpu_feature.
  
  Converge with amd64 where this originated from.
  
  Intel cpu's that implement any AMD features will report them in dmesg now.
  
  Approved by:    re
  
  Revision  Changes    Path
  1.145     +82 -91    src/sys/i386/i386/identcpu.c
  1.51      +1 -0      src/sys/i386/i386/initcpu.c
  1.72      +3 -1      src/sys/i386/include/md_var.h


More information about the cvs-src mailing list