Quick fix for the i8254 timecounter often gaining 10 msec.

This commit is contained in:
Bruce Evans 1998-02-23 00:11:25 +00:00
parent 86740c3409
commit 168be6199e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=33753
5 changed files with 10 additions and 5 deletions

View file

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
* $Id: clock.c,v 1.111 1998/02/20 16:35:37 phk Exp $
* $Id: clock.c,v 1.112 1998/02/21 20:45:27 jkh Exp $
*/
/*
@ -190,6 +190,7 @@ clkintr(struct clockframe frame)
i8254_offset += timer0_max_count;
else
i8254_ticked = 0;
i8254_lastcount = 0;
timer_func(&frame);
switch (timer0_state) {

View file

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
* $Id: clock.c,v 1.111 1998/02/20 16:35:37 phk Exp $
* $Id: clock.c,v 1.112 1998/02/21 20:45:27 jkh Exp $
*/
/*
@ -190,6 +190,7 @@ clkintr(struct clockframe frame)
i8254_offset += timer0_max_count;
else
i8254_ticked = 0;
i8254_lastcount = 0;
timer_func(&frame);
switch (timer0_state) {

View file

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
* $Id: clock.c,v 1.111 1998/02/20 16:35:37 phk Exp $
* $Id: clock.c,v 1.112 1998/02/21 20:45:27 jkh Exp $
*/
/*
@ -190,6 +190,7 @@ clkintr(struct clockframe frame)
i8254_offset += timer0_max_count;
else
i8254_ticked = 0;
i8254_lastcount = 0;
timer_func(&frame);
switch (timer0_state) {

View file

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
* $Id: clock.c,v 1.111 1998/02/20 16:35:37 phk Exp $
* $Id: clock.c,v 1.112 1998/02/21 20:45:27 jkh Exp $
*/
/*
@ -190,6 +190,7 @@ clkintr(struct clockframe frame)
i8254_offset += timer0_max_count;
else
i8254_ticked = 0;
i8254_lastcount = 0;
timer_func(&frame);
switch (timer0_state) {

View file

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
* $Id: clock.c,v 1.111 1998/02/20 16:35:37 phk Exp $
* $Id: clock.c,v 1.112 1998/02/21 20:45:27 jkh Exp $
*/
/*
@ -190,6 +190,7 @@ clkintr(struct clockframe frame)
i8254_offset += timer0_max_count;
else
i8254_ticked = 0;
i8254_lastcount = 0;
timer_func(&frame);
switch (timer0_state) {