Date: Mon, 12 Dec 2005 22:27:08 +0000 (UTC) From: Peter Wemm <peter@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/amd64/isa clock.c Message-ID: <200512122227.jBCMR8SJ087111@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2005-12-12 22:27:08 UTC FreeBSD src repository Modified files: sys/amd64/isa clock.c Log: 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512122227.jBCMR8SJ087111>