From owner-cvs-all Sat Sep 19 20:48:19 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA18079 for cvs-all-outgoing; Sat, 19 Sep 1998 20:48:19 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA18074; Sat, 19 Sep 1998 20:48:18 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id UAA20682; Sat, 19 Sep 1998 20:47:55 -0700 (PDT) Date: Sat, 19 Sep 1998 20:47:55 -0700 (PDT) Message-Id: <199809200347.UAA20682@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa clock.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1998/09/19 20:47:54 PDT Modified files: sys/i386/isa clock.c Log: Ensure that the i8254 timecounter doesn't go backards. It sometimes went backwards when interrupts were masked for more than one i8254 interrupt period. It sometimes went backwards when the i8254 counter was reprogrammed. Neither of these should happen in normal operation. Update the i8254 timecounter support variables atomically. Calling timecounter functions from fast interrupt handlers may actually work in all cases now. Revision Changes Path 1.126 +21 -6 src/sys/i386/isa/clock.c