freebsd-src/sys/isa
Bruce Evans a3b33372b9 Maintain a new variable `timer0_overflow_threshold' so that microtime()
doesn't have to calculate it every call.

Rename `timer0_prescale' to `timer0_prescaler_count' and maintain it
correctly.  Previously we lost a few 8253 cycles for every "prescaled"
clock interrupt, and the lossage grows rapidly at 16 KHz.  Now we
only lose a few cycles for every standard clock interrupt.

Rename `*_divisor' to `*_max_count'.

Do the calculation of TIMER_DIV(rate) only once instead of 3 times each
time the rate is changed.

Don't allow preposterously large interrupt rates.  Bug fixes elsewhere
should allow the system to survive rates that saturate the system, however.

Clean up declarations.

Include <machine/clock.h> to check our own declarations.
1994-11-05 23:55:07 +00:00
..
ic Updated driver to the 1.1.5 version: 1994-09-17 16:56:10 +00:00
atrtc.c Maintain a new variable `timer0_overflow_threshold' so that microtime() 1994-11-05 23:55:07 +00:00
fd.c Back out Joerg's latest commit. Sorry, Joerg, but this breaks the install 1994-11-02 09:08:40 +00:00
fdc.h Cosmetics. Silence gcc -Wall. Much more to do here :-( 1994-10-10 01:12:27 +00:00
fdreg.h An ifdef almost hit where it was supposed to go. Joerg owes me a good 1994-09-25 23:37:38 +00:00
kbdtables.h Laptop Advanced Power Management support by HOSOKAWA Tatsumi. 1994-10-01 02:56:21 +00:00
rtc.h resettodr() implemented, inittodr() fixed 1994-09-20 00:31:07 +00:00
sio.c Only log errors every second (instead of every 5-10 msec) and check for 1994-11-01 23:09:29 +00:00
sioreg.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 19:17:18 +00:00
syscons.c Fix for 'pstat -t' works on vtys 1994-11-03 11:41:34 +00:00
timerreg.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 13:48:52 +00:00