Date: Mon, 25 Oct 2010 20:52:33 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/sparc64/sparc64 tick.c Message-ID: <201010252052.o9PKqsQ0026108@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2010-10-25 20:52:33 UTC
FreeBSD src repository
Modified files:
sys/sparc64/sparc64 tick.c
Log:
SVN rev 214358 on 2010-10-25 20:52:33Z by marius
- Given that in one-shot mode tick_et_start() also is called frequently
introduce function pointers once set up to the respective implementation
for reading the (S)TICK and writing the (S)STICK_COMPARE registers as a
compromise between duplicating code and selecting between different
implementations during execution over and over again, similar to what is
done elsewhere in the MD in order to support different CPU models that
won't ever change at runtime.
- In the remaining tick interrupt handler further push down disabling of
interrupts to the periodic case as it isn't necessary here in one-shot
mode at all.
Revision Changes Path
1.32 +103 -113 src/sys/sparc64/sparc64/tick.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010252052.o9PKqsQ0026108>
