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

John Baldwin jhb at FreeBSD.org
Mon Dec 12 16:46:26 PST 2005


On Dec 12, 2005, at 5:27 PM, Peter Wemm wrote:

> 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().

Are you going to merge this over to i386 as well?

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



More information about the cvs-all mailing list