Date: Wed, 3 Mar 2010 17:13:29 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/amd64 local_apic.c src/sys/amd64/include apicvar.h src/sys/i386/i386 local_apic.c src/sys/i386/include apicvar.h src/sys/x86/isa clock.c Message-ID: <201003031728.o23HSq8R070618@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2010-03-03 17:13:29 UTC FreeBSD src repository Modified files: sys/amd64/amd64 local_apic.c sys/amd64/include apicvar.h sys/i386/i386 local_apic.c sys/i386/include apicvar.h sys/x86/isa clock.c Log: SVN rev 204641 on 2010-03-03 17:13:29Z by attilio Improving the clocks auto-tunning by firstly checking if the atrtc may be correctly initialized and just then assign to softclock/profclock. Right now, some atrtc seems reporting strange diagnostic error* making the current pattern bogus. In order to do that cleanly, lapic_setup_clock(), on both ia32 and amd64, now accepts as arguments the desired sources to handle, and returns the actual ones (LAPIC_CLOCK_NONE is forbidden because otherwise there is no meaning in calling such function). This allows to bring out into commont x86 code the handling part for machdep.lapic_allclocks tunable, which is retained. Sponsored by: Sandvine Incorporated Tested by: yongari, Richard Todd <rmtodd at ichotolot dot servalan dot com> MFC: 3 weeks X-MFC: r202387, 204309 Revision Changes Path 1.64 +15 -13 src/sys/amd64/amd64/local_apic.c 1.33 +1 -1 src/sys/amd64/include/apicvar.h 1.67 +15 -21 src/sys/i386/i386/local_apic.c 1.36 +1 -1 src/sys/i386/include/apicvar.h 1.2 +20 -5 src/sys/x86/isa/clock.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003031728.o23HSq8R070618>