cvs commit: src/sys/amd64/isa clock.c

Peter Wemm peter at
Mon Dec 12 14:27:08 PST 2005

peter       2005-12-12 22:27:08 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/isa        clock.c 
  For the amd64 platform, we can depend on the TSC being present.  This patch
  changes DELAY to use the TSC once it has been calibrated.  This does NOT
  use the TSC for long-term timekeeping.   It only uses it to bound the
  DELAY() spinloop.  This should not be affected by the Athlon64 X2 TSC
  quirks because the cpu is not halted while we use DELAY().
  Revision  Changes    Path
  1.223     +15 -0     src/sys/amd64/isa/clock.c

More information about the cvs-src mailing list