Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2010 20:07:51 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/amd64/amd64 legacy.c machdep.c src/sys/dev/acpica acpi_cpu.c src/sys/i386/i386 legacy.c machdep.c
Message-ID:  <201012142008.oBEK8OLQ042357@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jkim        2010-12-14 20:07:51 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      legacy.c machdep.c 
    sys/dev/acpica       acpi_cpu.c 
    sys/i386/i386        legacy.c machdep.c 
  Log:
  SVN rev 216443 on 2010-12-14 20:07:51Z by jkim
  
  Stop lying about supporting cpu_est_clockrate() when TSC is invariant.  This
  function always returned the nominal frequency instead of current frequency
  because we use RDTSC instruction to calculate difference in CPU ticks, which
  is supposedly constant for the case.  Now we support cpu_get_nominal_mhz()
  for the case, instead.  Note it should be just enough for most usage cases
  because cpu_est_clockrate() is often times abused to find maximum frequency
  of the processor.
  
  Revision  Changes    Path
  1.66      +14 -3     src/sys/amd64/amd64/legacy.c
  1.735     +4 -0      src/sys/amd64/amd64/machdep.c
  1.95      +11 -0     src/sys/dev/acpica/acpi_cpu.c
  1.68      +14 -3     src/sys/i386/i386/legacy.c
  1.717     +4 -0      src/sys/i386/i386/machdep.c



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