From owner-cvs-sys Thu May 11 00:44:42 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA19226 for cvs-sys-outgoing; Thu, 11 May 1995 00:44:42 -0700 Received: (from bde@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA19216 ; Thu, 11 May 1995 00:44:41 -0700 Date: Thu, 11 May 1995 00:44:41 -0700 From: Bruce Evans Message-Id: <199505110744.AAA19216@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa clock.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk bde 95/05/11 00:44:40 Modified: sys/i386/include spl.h sys/i386/isa clock.c Log: Add variable `idelayed' and macros setdelayed() and schedsofttty() to access it. setdelayed() actually ORs the bits in `idelayed' into `ipending' and clears `idelayed'. Call setdelayed() every (normal) clock tick to convert delayed interrupts into pending ones. Drivers can set bits in `idelayed' at any time to schedule an interrupt at the next clock tick. This is more efficient than calling timeout(). Currently only software interrupts can be scheduled.